forked from openxc/openxc-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (45 loc) · 1.66 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
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', 'units >= 0.5', 'argparse', 'requests==1.1.0',]
setup(name='openxc',
version=get_version(),
description='OpenXC is a platform for accessing vehicle data, and this is a library that is compatible with the CAN translator',
long_description=long_description,
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*']},
test_suite='nose.collector',
tests_require=['nose'],
install_requires=install_reqs,
extras_require = {
'serial': ["pyserial"],
'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',
]
},
)