forked from christoph2/pyxcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (58 loc) · 2.05 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/env python
import os
from setuptools import find_packages, setup
with open(os.path.join('pyxcp', 'version.py'), 'r') as f:
for line in f:
if line.startswith('__version__'):
version = line.split('=')[-1].strip().strip('"')
break
with open("README.md", "r") as fh:
long_description = fh.read()
install_reqs = [
'construct >= 2.9.0', 'mako', 'pyserial', 'toml', 'pyusb']
setup(
name='pyxcp',
version=version,
provides=['pyxcp'],
description="Universal Calibration Protocol for Python",
long_description=long_description,
long_description_content_type="text/markdown",
author='Christoph Schueler',
author_email='cpu12.gems@googlemail.com',
url='https://github.com/christoph2/pyxcp',
packages=find_packages(),
include_package_data=True,
install_requires=install_reqs,
extras_require={
"docs": [
'sphinxcontrib-napoleon'
],
"develop": [
"bumpversion"
]
} ,
package_dir={'tests': 'pyxcp/tests'},
tests_require=["pytest", "pytest-runner"],
test_suite="pyxcp.tests",
license='GPLv2',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)