Skip to content

Commit 58c80c7

Browse files
authored
fix setuptools deprecation
FIX: #UserWarning: Unknown distribution option: 'tests_require'
1 parent 9084042 commit 58c80c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example_python/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
maintainer_email='[email protected]',
3131
description='Example usage of generate_parameter_library for a python module',
3232
license='BSD-3-Clause',
33-
tests_require=['pytest'],
33+
extras_require={
34+
'test': [
35+
'pytest',
36+
],
37+
},
3438
entry_points={
3539
'console_scripts': [
3640
'test_node = generate_parameter_module_example.minimal_publisher:main'

0 commit comments

Comments
 (0)