-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·36 lines (32 loc) · 1.17 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
from setuptools import find_packages, setup
import glob
import sys
package_name = 'lifting_ctrl_ros2_pkg'
config_files = glob.glob(package_name + '/config/*.json')
python_version = f'{sys.version_info.major}.{sys.version_info.minor}'
so_files = glob.glob(f'{package_name}/so/python{python_version}/*.so')
setup(
name=package_name,
version='0.0.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
(f'lib/python{python_version}/site-packages/' + package_name + '/config', config_files),
(f'lib/python{python_version}/site-packages/' + package_name , so_files),
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='root',
maintainer_email='[email protected]',
description='TODO: Package description',
license='Apache-2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'service_850pro = lifting_ctrl_ros2_pkg.service_node_850pro:main',
'service_830abs = lifting_ctrl_ros2_pkg.service_node_830abs:main',
],
},
)