Merge branch '52-ros2trace-doesn-t-explicitly-install-package-xml' into 'master'
Resolve "ros2trace doesn't explicitly install package.xml" Closes #52 See merge request micro-ROS/ros_tracing/ros2_tracing!97
This commit is contained in:
commit
7eea0011a9
1 changed files with 7 additions and 2 deletions
|
@ -1,10 +1,15 @@
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
package_name = 'ros2trace'
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='ros2trace',
|
name=package_name,
|
||||||
version='0.2.7',
|
version='0.2.7',
|
||||||
packages=find_packages(exclude=['test']),
|
packages=find_packages(exclude=['test']),
|
||||||
|
data_files=[
|
||||||
|
('share/' + package_name, ['package.xml']),
|
||||||
|
],
|
||||||
install_requires=['ros2cli'],
|
install_requires=['ros2cli'],
|
||||||
zip_safe=True,
|
zip_safe=True,
|
||||||
maintainer=(
|
maintainer=(
|
||||||
|
@ -28,7 +33,7 @@ setup(
|
||||||
tests_require=['pytest'],
|
tests_require=['pytest'],
|
||||||
entry_points={
|
entry_points={
|
||||||
'ros2cli.command': [
|
'ros2cli.command': [
|
||||||
'trace = ros2trace.command.trace:TraceCommand',
|
f'trace = {package_name}.command.trace:TraceCommand',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue