Skip to content

Commit

Permalink
remove syntax rely on python2.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Apr 9, 2011
1 parent d398d1e commit d2e943c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion eggsetup.py
Expand Up @@ -8,7 +8,7 @@
#*****************************************************************************
import glob
from setuptools import setup,find_packages
execfile('pyreadline/release.py')
exec(compile(open('pyreadline/release.py').read(), 'pyreadline/release.py', 'exec'))

setup(name=name,
version = version,
Expand Down
50 changes: 25 additions & 25 deletions pyreadline/release.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
u"""Release data for the pyreadline project.
"""Release data for the pyreadline project.
$Id$"""

Expand All @@ -13,23 +13,23 @@

# Name of the package for release purposes. This is the name which labels
# the tarballs and RPMs made by distutils, so it's best to lowercase it.
name = u'pyreadline'
name = 'pyreadline'

# For versions with substrings (like 0.6.16.svn), use an extra . to separate
# the new substring. We have to avoid using either dashes or underscores,
# because bdist_rpm does not accept dashes (an RPM) convention, and
# bdist_deb does not accept underscores (a Debian convention).

branch = u''
branch = ''

version = u'1.7'
version = '1.7'

revision = u'$Revision$'
revision = '$Revision$'

description = u"A python implmementation of GNU readline."
description = "A python implmementation of GNU readline."

long_description = \
u"""
"""
The pyreadline package is a python implementation of GNU readline functionality
it is based on the ctypes based UNC readline package by Gary Bishop.
It is not complete. It has been tested for use with windows 2000 and windows xp.
Expand All @@ -51,31 +51,31 @@
.. _repository:
"""

license = u'BSD'
license = 'BSD'

authors = {u'Jorgen' : (u'Jorgen Stenarson',u'jorgen.stenarson@bostream.nu'),
u'Gary': (u'Gary Bishop', ''),
u'Jack': (u'Jack Trainor', ''),
authors = {'Jorgen' : ('Jorgen Stenarson','jorgen.stenarson@bostream.n'),
'Gary': ('Gary Bishop', ''),
'Jack': ('Jack Trainor', ''),
}

url = u'http://ipython.scipy.org/moin/PyReadline/Intro'
url = 'http://ipython.scipy.org/moin/PyReadline/Intro'

download_url = u'https://launchpad.net/pyreadline/+download'
download_url = 'https://launchpad.net/pyreadline/+download'

platforms = [u'Windows XP/2000/NT',
u'Windows 95/98/ME']
platforms = ['Windows XP/2000/NT',
'Windows 95/98/ME']

keywords = [u'readline',
u'pyreadline']
keywords = ['readline',
'pyreadline']

classifiers = [u'Development Status :: 5 - Production/Stable',
u'Environment :: Console',
u'Operating System :: Microsoft :: Windows',
u'License :: OSI Approved :: BSD License',
u'Programming Language :: Python :: 2.4',
u'Programming Language :: Python :: 2.5',
u'Programming Language :: Python :: 2.6',
u'Programming Language :: Python :: 2.7',
classifiers = ['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: Microsoft :: Windows',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
]


2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,7 +17,7 @@
#

from distutils.core import setup
execfile('pyreadline/release.py')
exec(compile(open('pyreadline/release.py').read(), 'pyreadline/release.py', 'exec'))

try:
import sphinx
Expand Down

0 comments on commit d2e943c

Please sign in to comment.