Skip to content

Commit a3bb018

Browse files
authored
fix setuptools deprecations (#475)
Signed-off-by: Mos <[email protected]>
1 parent fb6d0b5 commit a3bb018

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

launch_ros/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
keywords=['ROS'],
3131
classifiers=[
3232
'Intended Audience :: Developers',
33-
'License :: OSI Approved :: Apache Software License',
3433
'Programming Language :: Python',
3534
'Topic :: Software Development',
3635
],
@@ -39,7 +38,11 @@
3938
'This package provides ROS specific extensions to the launch package.'
4039
),
4140
license='Apache License, Version 2.0',
42-
tests_require=['pytest'],
41+
extras_require={
42+
'test': [
43+
'pytest',
44+
],
45+
},
4346
entry_points={
4447
'launch.frontend.launch_extension': [
4548
'launch_ros = launch_ros',

launch_testing_ros/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@
2727
keywords=['ROS'],
2828
classifiers=[
2929
'Intended Audience :: Developers',
30-
'License :: OSI Approved :: Apache Software License',
3130
'Programming Language :: Python',
3231
'Topic :: Software Development',
3332
],
3433
description='Test the output of a ROS node.',
3534
long_description='A package providing utilities for writing ROS2 enabled launch tests.',
3635
license='Apache License, Version 2.0',
37-
tests_require=['pytest'],
36+
extras_require={
37+
'test': [
38+
'pytest',
39+
],
40+
},
3841
)

ros2launch/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@
2424
classifiers=[
2525
'Environment :: Console',
2626
'Intended Audience :: Developers',
27-
'License :: OSI Approved :: Apache Software License',
2827
'Programming Language :: Python',
2928
],
3029
description='The launch command for ROS 2 command line tools.',
3130
long_description="""\
3231
The package provides the launch command for the ROS 2 command line tools.""",
3332
license='Apache License, Version 2.0',
34-
tests_require=['pytest'],
33+
extras_require={
34+
'test': [
35+
'pytest',
36+
],
37+
},
3538
entry_points={
3639
'ros2cli.command': [
3740
'launch = ros2launch.command.launch:LaunchCommand',

test_launch_ros/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
keywords=['ROS'],
2929
classifiers=[
3030
'Intended Audience :: Developers',
31-
'License :: OSI Approved :: Apache Software License',
3231
'Programming Language :: Python',
3332
'Topic :: Software Development',
3433
],
@@ -38,5 +37,9 @@
3837
'extensions to the launch package.'
3938
),
4039
license='Apache License, Version 2.0',
41-
tests_require=['pytest'],
40+
extras_require={
41+
'test': [
42+
'pytest',
43+
],
44+
},
4245
)

0 commit comments

Comments
 (0)