-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 1.02 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
from pathlib import Path
from sys import argv
import setuptools
from dlestxetx import __version__
README = Path(__file__).parent / 'README.rst'
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(argv)
setuptools.setup(
name='dlestxetx',
version=__version__,
description='DLE/STX/ETX packet encoder/decoder',
long_description=README.read_text(),
url='https://github.com/Lx/python-dlestxetx',
author='Alex Peters',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Communications',
'Typing :: Typed',
],
keywords='DLE STX ETX',
py_modules=['dlestxetx'],
python_requires='~=3.5',
setup_requires=['pytest-runner'] if needs_pytest else [],
tests_require=['pytest'],
)