32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
import os
|
|
from glob import glob
|
|
from setuptools import setup
|
|
|
|
|
|
package_name = 'safety_user_plugin'
|
|
submodules = 'safety_user_plugin/enums'
|
|
setup(
|
|
name=package_name,
|
|
version='0.2.0',
|
|
packages=[package_name, submodules],
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages', ['resource/' + package_name]),
|
|
('share/' + package_name, ['package.xml']),
|
|
('share/' + package_name, ['plugin.xml']),
|
|
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*.launch.py'))),
|
|
(os.path.join('share', package_name, 'ui'), glob(os.path.join('ui', '*.png'))),
|
|
(os.path.join('share', package_name, 'ui'), glob(os.path.join('ui', '*.ui'))),
|
|
(os.path.join('lib/', package_name), glob(os.path.join('ui', '*.ui'))),
|
|
],
|
|
install_requires=['setuptools'],
|
|
zip_safe=True,
|
|
maintainer='jdelicat',
|
|
maintainer_email='jakub.delicat@pwr.edu.pl',
|
|
description='TODO: Package description',
|
|
license='TODO: License declaration',
|
|
tests_require=['pytest'],
|
|
entry_points={
|
|
'console_scripts': ['user_plugin_node = safety_user_plugin.user_plugin_node:main'],
|
|
},
|
|
)
|