From 0b64f297ac3b99d2d7ee7eae8cca49623b423e13 Mon Sep 17 00:00:00 2001 From: Michael <67997227+mw25@users.noreply.github.com> Date: Mon, 5 May 2025 11:36:50 +0200 Subject: [PATCH 1/2] Fix deprecated license classifier Fixes following warning when building: setuptools.warnings.SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 603eb71..00a3ff8 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ author='Greg Atkin', author_email='greg.scott.atkin@gmail.com', license='MIT', + license_files=('LICENSE',) py_modules=['declxml'], install_requires=['typing'], data_files=[('', ['py.typed'])], @@ -34,7 +35,6 @@ 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'License :: OSI Approved :: MIT License', ], keywords='XML, Parsing, Serialization' ) From c4394f363c277a41873119efd790d90c4198e478 Mon Sep 17 00:00:00 2001 From: Michael <67997227+mw25@users.noreply.github.com> Date: Mon, 5 May 2025 11:45:57 +0200 Subject: [PATCH 2/2] missing comma --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 00a3ff8..6b0acd3 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ author='Greg Atkin', author_email='greg.scott.atkin@gmail.com', license='MIT', - license_files=('LICENSE',) + license_files=('LICENSE',), py_modules=['declxml'], install_requires=['typing'], data_files=[('', ['py.typed'])],