From f52b0f9c3378738483b3a59c6bd1c96493e210f5 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 24 Jul 2026 15:57:50 +0000 Subject: [PATCH] Remove license specifier from setup.py in favor of license & license_files in setup.cfg Fixes setuptools SetuptoolsDeprecationWarning about deprecated license classifiers. --- setup.cfg | 4 ++++ setup.py | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4b2d6da..3e4359d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,7 @@ +[metadata] +license = GPLv3+ +license_files = LICENSE + [flake8] max-line-length = 102 extend-ignore = E203 diff --git a/setup.py b/setup.py index c307dfc..ba40042 100644 --- a/setup.py +++ b/setup.py @@ -38,15 +38,12 @@ def get_version(): maintainer="Kiwi TCMS", maintainer_email="info@kiwitcms.org", url="https://github.com/kiwitcms/robotframework-plugin", - license="GPLv3+", install_requires=REQUIREMENTS, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", - "License :: OSI Approved :: GNU General Public License v3" - + " or later (GPLv3+)", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.12",