diff --git a/.gitignore b/.gitignore index 855694d..0f34b10 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ build dist pyreadline.egg-info/ __pycache__/ -*.bak \ No newline at end of file +*.bak +MANIFEST \ No newline at end of file diff --git a/buildit.bat b/buildit.bat new file mode 100644 index 0000000..2912b6b --- /dev/null +++ b/buildit.bat @@ -0,0 +1,3 @@ +python setup.py build bdist_wininst --plat-name=win32 +python setup.py build bdist_wininst --plat-name=win-amd64 +python setup.py build sdist diff --git a/pyreadline/release.py b/pyreadline/release.py index 3e11df1..a265475 100644 --- a/pyreadline/release.py +++ b/pyreadline/release.py @@ -23,7 +23,7 @@ name = 'pyreadline' branch = '' -version = '2.0' +version = '2.0-dev1' revision = '$Revision$' @@ -35,12 +35,7 @@ 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. -Version 1.7.1 includes fixes for 64-bit windows, thanks to Christoph Gohlke for -helping out. - -Version 1.7 will be the last release with compatibility with 2.4 and 2.5. The next -major release will target 2.6, 2.7 and 3.x. The 1.7 series will only receive bugfixes -from now on. +Version 2.0 runs on Python 2.6, 2.7, and 3.2 using the same code. Features: * keyboard text selection and copy/paste @@ -66,7 +61,7 @@ authors = {'Jorgen' : ('Jorgen Stenarson','jorgen.stenarson@bostream.nu'), 'Jack': ('Jack Trainor', ''), } -url = 'http://ipython.scipy.org/moin/PyReadline/Intro' +url = 'http://http://ipython.org/pyreadline.html' download_url = 'https://launchpad.net/pyreadline/+download' @@ -80,11 +75,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', 'Programming Language :: Python :: 3.2', ] - - diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 865bffa..0000000 --- a/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[egg_info] -tag_build=.dev -tag_svn_revision=1 \ No newline at end of file diff --git a/setup.py b/setup.py index 9501c1d..f4cbf06 100644 --- a/setup.py +++ b/setup.py @@ -11,30 +11,13 @@ import os import sys import glob +from distutils.core import setup # BEFORE importing distutils, remove MANIFEST. distutils doesn't properly # update it when the contents of directories change. if os.path.exists('MANIFEST'): os.remove('MANIFEST') # -extra = {} -_distribute = False - -try: - import setuptools - setup = setuptools.setup - _distribute = getattr(setuptools, '_distribute', False) -except ImportError: - from distutils.core import setup - -if sys.version_info >= (3, 0): - if _distribute == False: - raise RuntimeError('You must installed `distribute` to setup pyreadline with Python3') - - extra.update( - use_2to3=True - ) - exec(compile(open('pyreadline/release.py').read(), 'pyreadline/release.py', 'exec')) try: @@ -67,7 +50,6 @@ setup(name=name, packages = packages, package_data = {'pyreadline':['configuration/*']}, data_files = [], - cmdclass = cmd_class, - **extra + cmdclass = cmd_class )