-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (30 loc) · 1.03 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
from setuptools import setup, find_packages
import os
from glob import glob
package_name = 'image_converter'
setup(
name=package_name,
version='0.0.0',
packages=[package_name],
install_requires=['setuptools', 'cv_bridge', 'usb_cam'],
zip_safe=True,
maintainer='Avisheet Srivastava',
maintainer_email='[email protected]',
description='A package for converting camera images in ROS 2',
license='Apache License 2.0',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'image_conversion_node = image_converter.image_conversion_node:main',
'cam_image = image_converter.cam_image:main',
],
},
data_files=[
# Install the package index marker
('share/ament_index/resource_index/packages', ['resource/' + package_name]),
# Install the package.xml
('share/' + package_name, ['package.xml']),
# Install the launch files
(os.path.join('share', package_name, 'launch'), glob('launch/*.py')),
],
)