Skip to content

Commit 6dde20d

Browse files
authored
Fix Setuptoolsdeprecations (#898)
Signed-off-by: Mos <[email protected]>
1 parent 2f9b12a commit 6dde20d

File tree

5 files changed

+25
-10
lines changed

5 files changed

+25
-10
lines changed

launch/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
keywords=['ROS'],
2626
classifiers=[
2727
'Intended Audience :: Developers',
28-
'License :: OSI Approved :: Apache Software License',
2928
'Programming Language :: Python',
3029
'Topic :: Software Development',
3130
],
@@ -34,5 +33,9 @@
3433
'This package provides the ability to run multiple '
3534
'processes and react on individual processes exiting.'),
3635
license='Apache License, Version 2.0',
37-
tests_require=['pytest'],
36+
extras_require={
37+
'test': [
38+
'pytest',
39+
],
40+
},
3841
)

launch_pytest/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,16 @@
3939
keywords=['ROS'],
4040
classifiers=[
4141
'Intended Audience :: Developers',
42-
'License :: OSI Approved :: Apache Software License',
4342
'Programming Language :: Python',
4443
'Topic :: Software Development',
4544
],
4645
description='Create tests which involve launch files and multiple processes.',
4746
long_description=('A package to create tests which involve'
4847
' launch files and multiple processes.'),
4948
license='Apache License, Version 2.0',
50-
tests_require=['pytest'],
49+
extras_require={
50+
'test': [
51+
'pytest',
52+
],
53+
},
5154
)

launch_testing/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@
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
],
3736
description='Create tests which involve launch files and multiple processes.',
3837
long_description=('A package to create tests which involve'
3938
' launch files and multiple processes.'),
4039
license='Apache License, Version 2.0',
41-
tests_require=['pytest'],
40+
extras_require={
41+
'test': [
42+
'pytest',
43+
],
44+
},
4245
)

launch_xml/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
keywords=['ROS'],
2525
classifiers=[
2626
'Intended Audience :: Developers',
27-
'License :: OSI Approved :: Apache Software License',
2827
'Programming Language :: Python',
2928
'Topic :: Software Development',
3029
],
@@ -33,7 +32,11 @@
3332
'This package provides XML parsing ability to `launch-frontend` package.'
3433
),
3534
license='Apache License, Version 2.0',
36-
tests_require=['pytest'],
35+
extras_require={
36+
'test': [
37+
'pytest',
38+
],
39+
},
3740
entry_points={
3841
'launch.frontend.parser': [
3942
'xml = launch_xml:Parser',

launch_yaml/setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
keywords=['ROS'],
2525
classifiers=[
2626
'Intended Audience :: Developers',
27-
'License :: OSI Approved :: Apache Software License',
2827
'Programming Language :: Python',
2928
'Topic :: Software Development',
3029
],
@@ -33,7 +32,11 @@
3332
'This package provides YAML parsing ability to `launch-frontend` package.'
3433
),
3534
license='Apache License, Version 2.0',
36-
tests_require=['pytest'],
35+
extras_require={
36+
'test': [
37+
'pytest',
38+
],
39+
},
3740
entry_points={
3841
'launch.frontend.parser': [
3942
'yaml = launch_yaml:Parser',

0 commit comments

Comments
 (0)