-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.67 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
from glob import glob
import os
from setuptools import setup
package_name = 'visual_landing_provider'
version = '0.0.1'
if int(os.environ['ROS_VERSION']) == 1:
setup(
name=package_name,
version=version,
packages=[package_name],
data_files=[
('share/' + package_name, ['config.yaml']),
('share/' + package_name + '/data', glob('./data/*.onnx'))
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='bartoszptak',
maintainer_email='[email protected]',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
)
else:
submodules = [
'visual_landing_provider/vital',
'visual_landing_provider/vital/nn',
'visual_landing_provider/vital/utils',
]
setup(
name=package_name,
version=version,
packages=[package_name] + submodules,
data_files=[
('share/' + package_name, ['package.xml']),
('share/' + package_name, ['launch/visual_infer.launch.py']),
('share/' + package_name, ['config.yaml']),
('share/' + package_name + '/data', glob('./data/*.onnx'))
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='bartoszptak',
maintainer_email='[email protected]',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'visual_infer_ros2 = visual_landing_provider.visual_infer_ros2:main'
],
},
)