-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (28 loc) · 963 Bytes
/
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
from setuptools import setup
import os
from glob import glob
package_name = 'realsense'
setup(
name=package_name,
version='0.0.0',
packages=[package_name],
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
(os.path.join('share', package_name), glob('launch/*.launch.py')) # copy launch/*.launch.py to install/share/
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='smith',
maintainer_email='[email protected]',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'simple_publisher = '+package_name+'.simple_publisher:main', # define python name
'simple_subscriber = '+package_name+'.simple_subscriber:main', # define python name
],
},
)