-
Notifications
You must be signed in to change notification settings - Fork 45
/
setup.py
56 lines (51 loc) · 2.12 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
import sys
from setuptools import setup, find_packages
from openxc.version import get_version
# This is a workaround for an odd exception that occurs when running the tests.
try:
import multiprocessing
except ImportError:
pass
long_description = open('README.rst').read()
install_reqs = ['pyusb==1.0.0a3', 'units >= 0.5', 'argparse', 'requests==2.20.0',
'protobuf==3.17.1']
setup(name='openxc',
version=get_version(),
description='A Python library to connect to an OpenXC vehicle interface',
long_description=long_description,
long_description_content_type="text/x-rst",
author='Christopher Peplin',
author_email='[email protected]',
license='BSD',
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
],
url='http://github.com/openxc/openxc-python',
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={'openxc': ['generator/signals.cpp*', 'tools/templates/dashboard.html*', 'tools/static/css/dashboard.css*', 'tools/static/js/dashboard.js*', 'tools/static/js/socket.io.slim.js*', 'tools/static/js/jquery-3.4.1.min.js*', 'tools/static/js/jquery.color-2.1.2.min.js']},
test_suite='nose.collector',
tests_require=['nose'],
install_requires=install_reqs,
extras_require = {
'serial': ["pyserial==3.1.1"],
'bluetooth': ["pybluez"],
'lxml': ["lxml"],
},
entry_points={
'console_scripts': [
'openxc-dashboard = openxc.tools.dashboard:main',
'openxc-dump = openxc.tools.dump:main',
'openxc-control = openxc.tools.control:main',
'openxc-gps = openxc.tools.gps:main',
'openxc-trace-split = openxc.tools.tracesplit:main',
'openxc-generate-firmware-code = openxc.tools.generate_code:main',
'openxc-diag = openxc.tools.diagnostics:main',
'openxc-scanner = openxc.tools.scanner:main',
'openxc-obd2scanner = openxc.tools.obd2scanner:main',
]
},
)