ros2-docs/code-snippets/ros2 node templete/my_py_pkg/setup.py
2024-11-26 20:37:59 -05:00

27 lines
662 B
Python

from setuptools import setup
package_name = 'my_py_pkg'
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']),
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='ed',
maintainer_email='ed@todo.todo',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
entry_points={
'console_scripts': [
"py_node = my_py_pkg.my_first_node:main"
],
},
)