-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
executable file
·45 lines (41 loc) · 1.15 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
42
43
44
45
import os
import sys
from setuptools import setup
readme_path = os.path.join(os.path.dirname(
os.path.abspath(__file__)),
'README.md',
)
long_description = open(readme_path).read()
try:
version = get_version()
except Exception:
version = '0.0.0-dev'
setup(
name='nessclient',
packages=['nessclient', 'nessclient.cli', 'nessclient.cli.server'],
author="Nick Whyte",
author_email='[email protected]',
description="Implementation/abstraction of the Ness D8x / D16x Serial "
"Interface ASCII protocol",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/nickw444/nessclient',
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
],
install_requires=[
'justbackoff',
'dataclasses;python_version<"3.7"',
'pyserial_asyncio'
],
extras_require={
'cli': ['click']
},
entry_points={
'console_scripts': ['ness-cli=nessclient.cli.__main__:cli'],
},
setup_requires=[],
)