forked from OpenCyphal/pycyphal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·52 lines (46 loc) · 1.43 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
#!/usr/bin/env python
#
# Copyright (C) 2014-2015 UAVCAN Development Team <uavcan.org>
#
# This software is distributed under the terms of the MIT License.
#
# Author: Ben Dyer <[email protected]>
# Pavel Kirienko <[email protected]>
#
import os
import sys
from setuptools import setup
__version__ = None
VERSION_FILE = os.path.join(os.path.dirname(__file__), 'uavcan', 'version.py')
exec(open(VERSION_FILE).read()) # Adds __version__ to globals
args = dict(
name='uavcan',
version=__version__,
description='Python implementation of the UAVCAN protocol stack',
packages=[
'uavcan',
'uavcan.dsdl',
'uavcan.driver',
'uavcan.app',
],
package_data={
'uavcan': [os.path.join(root[len('uavcan/'):], fname)
for root, dirs, files in os.walk('uavcan/dsdl_files')
for fname in files if fname.endswith('.uavcan')]
},
author='Pavel Kirienko, Ben Dyer',
author_email='[email protected]',
url='http://uavcan.org/Implementations/Pyuavcan',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
keywords=''
)
if sys.version_info[0] < 3:
args['install_requires'] = ['monotonic']
setup(**args)