blob: 50493f2be7f4453265b380c7dd476d89449b49b1 [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# Windows installer:
4# "python setup.py bdist_wininst"
5#
6# Direct install (all systems):
7# "python setup.py install"
8#
9# For Python 3.x use the corresponding Python executable,
10# e.g. "python3 setup.py ..."
cliechtiff945632009-07-25 01:15:00 +000011
cliechti7aaead32009-07-23 14:02:41 +000012import sys
13
cliechti1eb947d2009-07-25 00:44:23 +000014from distutils.core import setup
cliechti89b4af12002-02-12 23:24:41 +000015
cliechti5600e7c2003-11-06 22:17:21 +000016
cliechtie428c0b2011-08-22 00:10:11 +000017# importing version does not work with Python 3 as files have not yet been
18# converted.
Chris Liechti80e2ae22015-08-04 02:59:50 +020019import serial
20version = serial.VERSION
cliechtif0c9f512011-03-18 11:16:15 +000021
cliechti89b4af12002-02-12 23:24:41 +000022setup(
cliechti67bbe912013-10-13 22:24:37 +000023 name = "pyserial",
cliechti54f69b62009-07-21 19:48:41 +000024 description = "Python Serial Port Extension",
cliechtie428c0b2011-08-22 00:10:11 +000025 version = version,
cliechti54f69b62009-07-21 19:48:41 +000026 author = "Chris Liechti",
27 author_email = "cliechti@gmx.net",
Chris Liechti80e2ae22015-08-04 02:59:50 +020028 url = "https://github.com/pyserial/pyserial",
cliechti0e69a9c2011-03-09 15:30:11 +000029 packages = ['serial', 'serial.tools', 'serial.urlhandler'],
cliechti54f69b62009-07-21 19:48:41 +000030 license = "Python",
31 long_description = "Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython",
cliechti5600e7c2003-11-06 22:17:21 +000032 classifiers = [
cliechti8db88b62003-09-10 20:14:53 +000033 'Development Status :: 5 - Production/Stable',
34 'Intended Audience :: Developers',
35 'Intended Audience :: End Users/Desktop',
Chris Liechti80e2ae22015-08-04 02:59:50 +020036 'License :: OSI Approved :: BSD License',
cliechti8db88b62003-09-10 20:14:53 +000037 'Natural Language :: English',
38 'Operating System :: POSIX',
39 'Operating System :: Microsoft :: Windows',
40 'Programming Language :: Python',
cliechti1eb947d2009-07-25 00:44:23 +000041 'Programming Language :: Python :: 2',
cliechti07709e42010-05-21 00:30:09 +000042 'Programming Language :: Python :: 2.7',
cliechti1eb947d2009-07-25 00:44:23 +000043 'Programming Language :: Python :: 3',
Chris Liechti80e2ae22015-08-04 02:59:50 +020044 'Programming Language :: Python :: 3.4',
45 'Programming Language :: Python :: 3.5',
cliechti8db88b62003-09-10 20:14:53 +000046 'Topic :: Communications',
47 'Topic :: Software Development :: Libraries',
cliechtiff945632009-07-25 01:15:00 +000048 'Topic :: Software Development :: Libraries :: Python Modules',
cliechti8db88b62003-09-10 20:14:53 +000049 'Topic :: Terminals :: Serial',
50 ],
cliechti54f69b62009-07-21 19:48:41 +000051 platforms = 'any',
cliechti16d73772011-03-09 15:33:33 +000052 scripts = ['serial/tools/miniterm.py'],
cliechti54f69b62009-07-21 19:48:41 +000053)