-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (34 loc) · 1.14 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import setuptools
install_requires = [
'pyserial==3.5',
]
try:
# $ pip install pypandoc
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setuptools.setup (
name = 'USBSerial',
version = '1.1.0',
license = 'GPL-3.0 License',
description = 'HC-USBSerial Python library via Serial protocol, using pySerial library as API',
long_description = long_description,
long_description_content_type='text/markdown',
author = 'KKimj',
author_email = 'kkimj@hanyang.ac.kr',
url = 'https://github.com/KKimj/USBSerial_Python-library',
install_requires=install_requires,
py_modules=["usbserial"],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
classifiers = [
# https://pypi.org/classifiers/
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Terminals :: Serial",
"Natural Language :: Korean",
],
python_requires='>=3',
)