-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
64 lines (57 loc) · 1.84 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
57
58
59
60
61
62
63
64
import os
from setuptools import setup
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
if '.py' not in filename:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = (
package_files('nodl_to_policy/common')
)
package_name = 'nodl_to_policy'
setup(
name=package_name,
version='1.0.0',
packages=[package_name],
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
],
install_requires=['setuptools'],
zip_safe=True,
author='Abrar Rahman Protyasha',
author_email='[email protected]',
maintainer='Abrar Rahman Protyasha',
maintainer_email='[email protected]',
url='https://github.com/osrf/nodl_to_policy',
download_url='https://github.com/osrf/nodl_to_policy/releases',
keywords=['ROS'],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License 2.0',
'Programming Language :: Python',
'Topic :: Software Development',
],
description='NoDL description to ROS 2 policy generator',
long_description='Package to generate a ROS 2 Access Control Policy from \
the NoDL description of a ROS system',
license='Apache License 2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [
],
'ros2cli.command': [
'nodl_to_policy = nodl_to_policy.command.nodl_to_policy:NoDLToPolicyCommand',
],
'nodl_to_policy.verb': [
'convert = nodl_to_policy.verb.convert:ConvertVerb'
]
},
package_data={
'nodl_to_policy': extra_files,
},
)