blob: 17ee4bd3b2e5a96749a7f149bfb9d01c3ff87756 [file] [log] [blame]
cliechtia3d9de52010-10-23 22:13:39 +00001# setup.py for pySerial
cliechtiff945632009-07-25 01:15:00 +00002#
cliechtia3d9de52010-10-23 22:13:39 +00003# 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 Liechtifbdd8a02015-08-09 02:37:45 +02008#
9# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
10#
11# SPDX-License-Identifier: BSD-3-Clause
cliechtiff945632009-07-25 01:15:00 +000012
Steven Michalskeb028b252015-08-06 22:29:23 -070013try:
14 from setuptools import setup
15except ImportError:
16 from distutils.core import setup
cliechti5600e7c2003-11-06 22:17:21 +000017
Chris Liechti80e2ae22015-08-04 02:59:50 +020018import serial
19version = serial.VERSION
cliechtif0c9f512011-03-18 11:16:15 +000020
cliechti89b4af12002-02-12 23:24:41 +000021setup(
Chris Liechti8813f572016-01-31 23:28:33 +010022 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 Liechti9852c302016-03-18 23:01:49 +010029 license="BSD",
Chris Liechtibf6d3aa2016-04-28 23:49:37 +020030 long_description="""\
31Python Serial Port Extension for Win32, OSX, Linux, BSD, Jython, IronPython
32
33Stable:
34
35- Documentation: http://pythonhosted.org/pyserial/
36- Download Page: https://pypi.python.org/pypi/pyserial
37
38Latest:
39
40- Documentation: http://pyserial.readthedocs.io/en/latest/
41- Project Homepage: https://github.com/pyserial/pyserial
42""",
Chris Liechti8813f572016-01-31 23:28:33 +010043 classifiers=[
cliechti8db88b62003-09-10 20:14:53 +000044 'Development Status :: 5 - Production/Stable',
45 'Intended Audience :: Developers',
46 'Intended Audience :: End Users/Desktop',
Chris Liechti80e2ae22015-08-04 02:59:50 +020047 'License :: OSI Approved :: BSD License',
cliechti8db88b62003-09-10 20:14:53 +000048 'Natural Language :: English',
49 'Operating System :: POSIX',
50 'Operating System :: Microsoft :: Windows',
Chris Liechti72726d72015-10-23 22:03:04 +020051 'Operating System :: MacOS :: MacOS X',
cliechti8db88b62003-09-10 20:14:53 +000052 'Programming Language :: Python',
cliechti1eb947d2009-07-25 00:44:23 +000053 'Programming Language :: Python :: 2',
cliechti07709e42010-05-21 00:30:09 +000054 'Programming Language :: Python :: 2.7',
cliechti1eb947d2009-07-25 00:44:23 +000055 'Programming Language :: Python :: 3',
Chris Liechtic2b26792015-09-22 23:16:07 +020056 'Programming Language :: Python :: 3.2',
57 'Programming Language :: Python :: 3.3',
Chris Liechti80e2ae22015-08-04 02:59:50 +020058 'Programming Language :: Python :: 3.4',
59 'Programming Language :: Python :: 3.5',
cliechti8db88b62003-09-10 20:14:53 +000060 'Topic :: Communications',
61 'Topic :: Software Development :: Libraries',
cliechtiff945632009-07-25 01:15:00 +000062 'Topic :: Software Development :: Libraries :: Python Modules',
cliechti8db88b62003-09-10 20:14:53 +000063 'Topic :: Terminals :: Serial',
64 ],
Chris Liechti8813f572016-01-31 23:28:33 +010065 platforms='any',
66 scripts=['serial/tools/miniterm.py'],
cliechti54f69b62009-07-21 19:48:41 +000067)