From a3d6f881a7e6b4ce41519137a0a3fdb761bbacfc Mon Sep 17 00:00:00 2001 From: Mos Date: Thu, 24 Jul 2025 11:24:35 +0200 Subject: [PATCH] Fix setupTools deprecations FIX: #UserWarning: Unknown distribution option: 'tests_require' and #SetuptoolsDeprecationWarning: License classifiers are deprecated. !! --- qt_dotgraph/setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qt_dotgraph/setup.py b/qt_dotgraph/setup.py index 2790426c..6ca6f0fa 100644 --- a/qt_dotgraph/setup.py +++ b/qt_dotgraph/setup.py @@ -20,7 +20,6 @@ keywords=['ROS'], classifiers=[ 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Topic :: Software Development', ], @@ -28,5 +27,9 @@ 'qt_dotgraph provides helpers to work with dot graphs.' ), license='BSD', - tests_require=['pytest'], + extras_require={ + 'test': [ + 'pytest', + ], + }, )