forked from RoboticaUtnFrba/create2_description
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.99 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
"""webots_ros2 package setup file."""
from glob import glob
import os
from setuptools import setup
package_name = 'create2_description'
data_files = []
# Install marker file in the package index
data_files.append(('share/ament_index/resource_index/packages', ['resource/' + package_name]))
# Include our package.xml file`
data_files.append(('share/' + package_name, ['package.xml']))
# Include all launch files
data_files.append((os.path.join('share', package_name, 'launch'), glob('launch/*.launch.py')))
# World files
data_files.append((os.path.join('share', package_name, 'worlds'), glob('worlds/*.wb*')))
data_files.append((os.path.join('share', package_name, 'worlds/textures'),
glob('worlds/textures/*')))
# Configuration files
data_files.append(('share/' + package_name + '/resource', [
'resource/irobot_create_2.yaml',
]))
# Proto
data_files.append((os.path.join('share', package_name, 'protos'), glob('protos/*.proto')))
data_files.append((os.path.join('share', package_name, 'protos/textures'),
glob('protos/textures/*.jpg')))
setup(
name=package_name,
version='1.0.0',
packages=[package_name],
data_files=data_files,
install_requires=['setuptools', 'launch'],
zip_safe=True,
author='Emiliano J. Borghi Orue',
author_email='[email protected]',
maintainer='Emiliano J. Borghi Orue',
maintainer_email='[email protected]',
keywords=['ROS', 'Webots', 'Robot', 'Simulation', 'iRobot Create 2'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Software Development',
],
description='iRobot Create 2 ROS2 interface.',
license='Apache License, Version 2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'driver = create2_description.driver:main'
],
'launch.frontend.launch_extension': ['launch_ros = launch_ros']
}
)