Update Python packages to use generate_setuptools_dict

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2021-04-14 14:34:01 -04:00
parent 5a6fb7441a
commit b181a68b0a
4 changed files with 10 additions and 46 deletions

View file

@ -1,11 +1,9 @@
from ament_package.generate_setuptools_dict import generate_setuptools_dict
from setuptools import find_packages
from setuptools import setup
package_name = 'ros2trace_analysis'
setup(
name=package_name,
version='2.0.0',
package_info = generate_setuptools_dict(
packages=find_packages(exclude=['test']),
data_files=[
('share/' + package_name, ['package.xml']),
@ -14,22 +12,7 @@ setup(
],
install_requires=['ros2cli'],
zip_safe=True,
maintainer=(
'Christophe Bedard'
),
maintainer_email=(
'bedard.christophe@gmail.com'
),
author='Christophe Bedard',
author_email='christophe.bedard@apex.ai',
url='https://gitlab.com/ros-tracing/tracetools_analysis',
keywords=[],
description='The trace-analysis command for ROS 2 command line tools.',
long_description=(
'The package provides the trace-analysis '
'command for the ROS 2 command line tools.'
),
license='Apache 2.0',
tests_require=['pytest'],
entry_points={
'ros2cli.command': [
@ -44,3 +27,4 @@ setup(
],
}
)
setup(**package_info)