blob: f15e5d84dc269f040d67f88db3f9e341c9cc879e [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 ..."
Chris Liechtifbdd8a02015-08-09 02:37:45 +020011#
12# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
13#
14# SPDX-License-Identifier: BSD-3-Clause
cliechtiff945632009-07-25 01:15:00 +000015
Steven Michalskeb028b252015-08-06 22:29:23 -070016try:
17 from setuptools import setup
18except ImportError:
19 from distutils.core import setup
cliechti5600e7c2003-11-06 22:17:21 +000020
cliechtie428c0b2011-08-22 00:10:11 +000021# importing version does not work with Python 3 as files have not yet been
22# converted.
Chris Liechti80e2ae22015-08-04 02:59:50 +020023import serial
24version = serial.VERSION
cliechtif0c9f512011-03-18 11:16:15 +000025
cliechti89b4af12002-02-12 23:24:41 +000026setup(
cliechti67bbe912013-10-13 22:24:37 +000027 name = "pyserial",
cliechti54f69b62009-07-21 19:48:41 +000028 description = "Python Serial Port Extension",
cliechtie428c0b2011-08-22 00:10:11 +000029 version = version,
cliechti54f69b62009-07-21 19:48:41 +000030 author = "Chris Liechti",
31 author_email = "cliechti@gmx.net",
Chris Liechti80e2ae22015-08-04 02:59:50 +020032 url = "https://github.com/pyserial/pyserial",
Chris Liechti72726d72015-10-23 22:03:04 +020033 packages = ['serial', 'serial.tools', 'serial.urlhandler', 'serial.threaded'],
cliechti54f69b62009-07-21 19:48:41 +000034 license = "Python",
Chris Liechti72726d72015-10-23 22:03:04 +020035 long_description = "Python Serial Port Extension for Win32, OSX, Linux, BSD, Jython, IronPython",
cliechti5600e7c2003-11-06 22:17:21 +000036 classifiers = [
cliechti8db88b62003-09-10 20:14:53 +000037 'Development Status :: 5 - Production/Stable',
38 'Intended Audience :: Developers',
39 'Intended Audience :: End Users/Desktop',
Chris Liechti80e2ae22015-08-04 02:59:50 +020040 'License :: OSI Approved :: BSD License',
cliechti8db88b62003-09-10 20:14:53 +000041 'Natural Language :: English',
42 'Operating System :: POSIX',
43 'Operating System :: Microsoft :: Windows',
Chris Liechti72726d72015-10-23 22:03:04 +020044 'Operating System :: MacOS :: MacOS X',
cliechti8db88b62003-09-10 20:14:53 +000045 'Programming Language :: Python',
cliechti1eb947d2009-07-25 00:44:23 +000046 'Programming Language :: Python :: 2',
cliechti07709e42010-05-21 00:30:09 +000047 'Programming Language :: Python :: 2.7',
cliechti1eb947d2009-07-25 00:44:23 +000048 'Programming Language :: Python :: 3',
Chris Liechtic2b26792015-09-22 23:16:07 +020049 'Programming Language :: Python :: 3.2',
50 'Programming Language :: Python :: 3.3',
Chris Liechti80e2ae22015-08-04 02:59:50 +020051 'Programming Language :: Python :: 3.4',
52 'Programming Language :: Python :: 3.5',
cliechti8db88b62003-09-10 20:14:53 +000053 'Topic :: Communications',
54 'Topic :: Software Development :: Libraries',
cliechtiff945632009-07-25 01:15:00 +000055 'Topic :: Software Development :: Libraries :: Python Modules',
cliechti8db88b62003-09-10 20:14:53 +000056 'Topic :: Terminals :: Serial',
57 ],
cliechti54f69b62009-07-21 19:48:41 +000058 platforms = 'any',
cliechti16d73772011-03-09 15:33:33 +000059 scripts = ['serial/tools/miniterm.py'],
cliechti54f69b62009-07-21 19:48:41 +000060)