diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2008-07-06 23:09:17 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2008-07-06 23:09:17 +0000 |
commit | 030a6f986f215b9e25c0577e9a26d49063c281a1 (patch) | |
tree | 0171ac6f1d1ba1df653a1ef9b546851685eac5cd /setup.py | |
parent | 48240f774b4aa51692993cd9f96020ad33fc4c68 (diff) | |
download | pyserial-git-release2_4.tar.gz |
tag 2.4release2_4
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..9f3b349 --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +# setup.py +try: + from setuptools import setup +except ImportError: + print "standart distutils" + from distutils.core import setup +else: + print "setuptools" +import sys + +#windows installer: +# python setup.py bdist_wininst + +# patch distutils if it can't cope with the "classifiers" or +# "download_url" keywords +if sys.version < '2.2.3': + from distutils.dist import DistributionMetadata + DistributionMetadata.classifiers = None + DistributionMetadata.download_url = None + +setup( + name="pyserial", + description="Python Serial Port Extension", + version="2.4", + 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", + 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', + 'Programming Language :: Python', + 'Topic :: Communications', + 'Topic :: Software Development :: Libraries', + 'Topic :: Terminals :: Serial', + ], +) |