-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (35 loc) · 1.7 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
from setuptools import find_packages, setup
import os
from glob import glob
package_name = 'humanoid_bot'
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']),
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', 'rsp.launch.py'))),
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', 'launch_sim.launch.py'))),
(os.path.join('share', package_name, 'description'), glob(os.path.join('description', 'humanoid.urdf.xacro'))),
(os.path.join('share', package_name, 'description'), glob(os.path.join('description', 'humanoid_core.xacro'))),
(os.path.join('share', package_name, 'description'), glob(os.path.join('description', 'gazebo_control.xacro'))),
(os.path.join('share', package_name, 'config'), glob(os.path.join('config', 'controller_position.yaml'))),
(os.path.join('share', package_name, 'meshes'), glob('meshes/*.dae')),
(os.path.join('share', package_name, 'launch'), glob('launch/*.launch.*')),
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='kingayush',
maintainer_email='[email protected]',
description='TODO: Package description',
license='Apache-2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [ 'bot_teleop='+package_name+'.bot_teleop:main',
'spawn_entity='+package_name+'.spawn_entity:main',
'humanoid_control='+package_name+'.spawn_entity:main',
],
},
)