diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-07-22 00:28:51 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2010-07-22 00:28:51 +0000 |
commit | bfd7c372c99f0c07da9a3bda4685dc33ee06cd91 (patch) | |
tree | c7395ee8a5572de19c1f1da77f56d15a03941897 /pyserial/setup.py | |
parent | c323f1faf74302209d73c6752d4f68a82a93541b (diff) | |
download | pyserial-git-release2_5.tar.gz |
tag for release 2.5release2_5
Diffstat (limited to 'pyserial/setup.py')
-rw-r--r-- | pyserial/setup.py | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/pyserial/setup.py b/pyserial/setup.py deleted file mode 100644 index 353ffdc..0000000 --- a/pyserial/setup.py +++ /dev/null @@ -1,66 +0,0 @@ -# setup.py for pyserial -# -# windows installer: -# python setup.py bdist_wininst - -import sys - -from distutils.core import setup - -try: - from distutils.command.build_py import build_py_2to3 as build_py -except ImportError: - if sys.version_info >= (3, 0): - raise ImportError("build_py_2to3 not found in distutils - it is required for Python 3.x") - from distutils.command.build_py import build_py - suffix = "" -else: - suffix = "-py3k" - - -if sys.version < '2.3': - # distutils that old can't cope with the "classifiers" or "download_url" - # keywords and True/False constants and basestring are missing - raise ValueError("Sorry Python versions older than 2.3 are no longer" - "supported - check http://pyserial.sf.net for older " - "releases or upgrade your Python installation.") - -setup( - name = "pyserial" + suffix, - description = "Python Serial Port Extension", - version = "2.5", - author = "Chris Liechti", - author_email = "cliechti@gmx.net", - url = "http://pyserial.sourceforge.net/", - packages = ['serial'], - license = "Python", - long_description = "Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython", - classifiers = [ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Developers', - 'Intended Audience :: End Users/Desktop', - 'License :: OSI Approved :: Python Software Foundation License', - 'Natural Language :: English', - 'Operating System :: POSIX', - 'Operating System :: Microsoft :: Windows', - #~ 'Operating System :: Microsoft :: Windows :: Windows CE', # could work due to new ctypes impl. someone needs to confirm that - 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.3', - 'Programming Language :: Python :: 2.4', - 'Programming Language :: Python :: 2.5', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.0', - 'Programming Language :: Python :: 3.1', - 'Topic :: Communications', - 'Topic :: Software Development :: Libraries', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Terminals :: Serial', - ], - platforms = 'any', - cmdclass = {'build_py': build_py}, - - scripts = ['examples/miniterm.py'], -) |