cliechti | a3d9de5 | 2010-10-23 22:13:39 +0000 | [diff] [blame] | 1 | # setup.py for pySerial |
cliechti | ff94563 | 2009-07-25 01:15:00 +0000 | [diff] [blame] | 2 | # |
cliechti | a3d9de5 | 2010-10-23 22:13:39 +0000 | [diff] [blame] | 3 | # Direct install (all systems): |
| 4 | # "python setup.py install" |
| 5 | # |
| 6 | # For Python 3.x use the corresponding Python executable, |
| 7 | # e.g. "python3 setup.py ..." |
Chris Liechti | fbdd8a0 | 2015-08-09 02:37:45 +0200 | [diff] [blame] | 8 | # |
| 9 | # (C) 2001-2015 Chris Liechti <cliechti@gmx.net> |
| 10 | # |
| 11 | # SPDX-License-Identifier: BSD-3-Clause |
cliechti | ff94563 | 2009-07-25 01:15:00 +0000 | [diff] [blame] | 12 | |
Steven Michalske | b028b25 | 2015-08-06 22:29:23 -0700 | [diff] [blame] | 13 | try: |
| 14 | from setuptools import setup |
| 15 | except ImportError: |
| 16 | from distutils.core import setup |
cliechti | 5600e7c | 2003-11-06 22:17:21 +0000 | [diff] [blame] | 17 | |
Chris Liechti | 80e2ae2 | 2015-08-04 02:59:50 +0200 | [diff] [blame] | 18 | import serial |
| 19 | version = serial.VERSION |
cliechti | f0c9f51 | 2011-03-18 11:16:15 +0000 | [diff] [blame] | 20 | |
cliechti | 89b4af1 | 2002-02-12 23:24:41 +0000 | [diff] [blame] | 21 | setup( |
Chris Liechti | 8813f57 | 2016-01-31 23:28:33 +0100 | [diff] [blame] | 22 | name="pyserial", |
| 23 | description="Python Serial Port Extension", |
| 24 | version=version, |
| 25 | author="Chris Liechti", |
| 26 | author_email="cliechti@gmx.net", |
| 27 | url="https://github.com/pyserial/pyserial", |
| 28 | packages=['serial', 'serial.tools', 'serial.urlhandler', 'serial.threaded'], |
Chris Liechti | 9852c30 | 2016-03-18 23:01:49 +0100 | [diff] [blame] | 29 | license="BSD", |
Chris Liechti | bf6d3aa | 2016-04-28 23:49:37 +0200 | [diff] [blame^] | 30 | long_description="""\ |
| 31 | Python Serial Port Extension for Win32, OSX, Linux, BSD, Jython, IronPython |
| 32 | |
| 33 | Stable: |
| 34 | |
| 35 | - Documentation: http://pythonhosted.org/pyserial/ |
| 36 | - Download Page: https://pypi.python.org/pypi/pyserial |
| 37 | |
| 38 | Latest: |
| 39 | |
| 40 | - Documentation: http://pyserial.readthedocs.io/en/latest/ |
| 41 | - Project Homepage: https://github.com/pyserial/pyserial |
| 42 | """, |
Chris Liechti | 8813f57 | 2016-01-31 23:28:33 +0100 | [diff] [blame] | 43 | classifiers=[ |
cliechti | 8db88b6 | 2003-09-10 20:14:53 +0000 | [diff] [blame] | 44 | 'Development Status :: 5 - Production/Stable', |
| 45 | 'Intended Audience :: Developers', |
| 46 | 'Intended Audience :: End Users/Desktop', |
Chris Liechti | 80e2ae2 | 2015-08-04 02:59:50 +0200 | [diff] [blame] | 47 | 'License :: OSI Approved :: BSD License', |
cliechti | 8db88b6 | 2003-09-10 20:14:53 +0000 | [diff] [blame] | 48 | 'Natural Language :: English', |
| 49 | 'Operating System :: POSIX', |
| 50 | 'Operating System :: Microsoft :: Windows', |
Chris Liechti | 72726d7 | 2015-10-23 22:03:04 +0200 | [diff] [blame] | 51 | 'Operating System :: MacOS :: MacOS X', |
cliechti | 8db88b6 | 2003-09-10 20:14:53 +0000 | [diff] [blame] | 52 | 'Programming Language :: Python', |
cliechti | 1eb947d | 2009-07-25 00:44:23 +0000 | [diff] [blame] | 53 | 'Programming Language :: Python :: 2', |
cliechti | 07709e4 | 2010-05-21 00:30:09 +0000 | [diff] [blame] | 54 | 'Programming Language :: Python :: 2.7', |
cliechti | 1eb947d | 2009-07-25 00:44:23 +0000 | [diff] [blame] | 55 | 'Programming Language :: Python :: 3', |
Chris Liechti | c2b2679 | 2015-09-22 23:16:07 +0200 | [diff] [blame] | 56 | 'Programming Language :: Python :: 3.2', |
| 57 | 'Programming Language :: Python :: 3.3', |
Chris Liechti | 80e2ae2 | 2015-08-04 02:59:50 +0200 | [diff] [blame] | 58 | 'Programming Language :: Python :: 3.4', |
| 59 | 'Programming Language :: Python :: 3.5', |
cliechti | 8db88b6 | 2003-09-10 20:14:53 +0000 | [diff] [blame] | 60 | 'Topic :: Communications', |
| 61 | 'Topic :: Software Development :: Libraries', |
cliechti | ff94563 | 2009-07-25 01:15:00 +0000 | [diff] [blame] | 62 | 'Topic :: Software Development :: Libraries :: Python Modules', |
cliechti | 8db88b6 | 2003-09-10 20:14:53 +0000 | [diff] [blame] | 63 | 'Topic :: Terminals :: Serial', |
| 64 | ], |
Chris Liechti | 8813f57 | 2016-01-31 23:28:33 +0100 | [diff] [blame] | 65 | platforms='any', |
| 66 | scripts=['serial/tools/miniterm.py'], |
cliechti | 54f69b6 | 2009-07-21 19:48:41 +0000 | [diff] [blame] | 67 | ) |