Rewritten CMake installation directives, added setup.py for libuavcan_dsdl_compiler. uavcan_dsdlc should be lifted from libuavcan to a separate subproject in order to add support for other programming languages

This commit is contained in:
Pavel Kirienko
2014-03-29 14:31:27 +04:00
parent 77d46cb91f
commit e212c6a9d5
6 changed files with 108 additions and 58 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
from distutils.core import setup
args = dict(
name='uavcan_dsdlc',
version='0.1',
description='UAVCAN DSDL compiler for libuavcan',
packages=['libuavcan_dsdl_compiler'],
package_data={'libuavcan_dsdl_compiler': ['data_type_template.tmpl']},
scripts=['uavcan_dsdlc'],
requires=['mako', 'pyuavcan'],
author='Pavel Kirienko',
author_email='pavel.kirienko@gmail.com',
url='http://uavcan.org',
license='MIT'
)
setup(**args)