-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.2 KB
/
Copy pathsetup.py
File metadata and controls
35 lines (32 loc) · 1.2 KB
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
from setuptools import setup
import os
from glob import glob
package_name = 'pcd_demo'
setup(
name=package_name,
version='0.0.1',
packages=[package_name],
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
# During installation, we need to copy the launch files
(os.path.join('share', package_name, "launch"), glob('launch/*.launch.py')),
# Same with the RViz configuration file.
(os.path.join('share', package_name, "config"), glob('config/*')),
# And the ply files.
(os.path.join('share', package_name, "resource"), glob('resource/*.ply')),
],
install_requires=['setuptools', "open3d"],
zip_safe=True,
maintainer='Sebastian Grans',
maintainer_email='sebastian.grans@<somewhere>.com',
description='Demo package on how to visualize a point cloud using RViz',
license='MIT License',
entry_points={
'console_scripts': [
'pcd_publisher_node = pcd_demo.pcd_publisher.pcd_publisher_node:main',
'pcd_subscriber_node = pcd_demo.pcd_subscriber.pcd_subscriber_node:main'
],
},
)