13 from setuptools
import setup
16 VERSION_FILE = os.path.join(os.path.dirname(__file__),
'pyuavcan_v0',
'version.py')
17 exec(open(VERSION_FILE).read())
19 with open(
'README.md',
'r')
as fh:
20 long_description = fh.read()
25 description=
'UAVCAN/CAN v0 (legacy) implementation in Python. Checkout pyuavcan for v1 implementation.',
26 long_description=long_description,
27 long_description_content_type=
'text/markdown',
35 'pyuavcan_v0': [os.path.join(root[len(
'pyuavcan_v0/'):], fname)
36 for root, dirs, files
in os.walk(
'pyuavcan_v0/dsdl_files')
37 for fname
in files
if fname.endswith(
'.uavcan')]
39 author=
'Pavel Kirienko, Ben Dyer',
40 author_email=
'maintainers@uavcan.org',
41 url=
'http://uavcan.org',
44 'Development Status :: 3 - Alpha',
45 'Intended Audience :: Developers',
46 'Topic :: Software Development :: Libraries',
47 'License :: OSI Approved :: MIT License',
48 'Programming Language :: Python',
53 if sys.version_info[0] < 3:
54 args[
'install_requires'] = [
'monotonic']