-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (36 loc) · 1.54 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
import os
from glob import glob
from setuptools import find_packages, setup
package_name = 'webots_demo'
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', '*_launch.py'))),
(os.path.join('share', package_name, 'worlds'), glob(os.path.join('worlds', '*.wbt'))),
(os.path.join('share', package_name, 'worlds'), glob(os.path.join('worlds', '*.world'))),
(os.path.join('share', package_name, 'resource'), glob(os.path.join('resource', '*.urdf'))),
(os.path.join('share', package_name, 'resource'), glob(os.path.join('resource', '*.yml'))),
(os.path.join('share', package_name, 'rviz'), glob(os.path.join('rviz', '*.rviz'))),
(os.path.join('share', package_name, 'config'), glob(os.path.join('config', '*')))
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='ros',
maintainer_email='[email protected]',
description='TODO: Package description',
license='Apache-2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'obstacle_avoider = webots_demo.obstacle_avoider:main',
'epuck_scan = webots_demo.epuck_scan:main',
'random_walk = webots_demo.random_walk:main',
'explore = webots_demo.explore:main'
],
},
)