diff --git a/docs/changelog.rst b/docs/changelog.rst index 9a15b52..216a93e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,9 @@ Changelog v0.17.0 ~~~~~~~ +* Migrate ``project.license`` to an SPDX expression and drop the deprecated + ``License ::`` trove classifier, silencing the ``setuptools >=77`` + deprecation warning. (#260) * Add support for Python 3.13, 3.14 and 3.15. * Drop support for Python < 3.11. * Fix a leading ``99`` digit pair being silently dropped from Code128 diff --git a/pyproject.toml b/pyproject.toml index 13cc895..b203f4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61", "wheel", "setuptools_scm>=6.2"] +requires = ["setuptools>=77", "wheel", "setuptools_scm>=6.2"] build-backend = "setuptools.build_meta" [project] @@ -7,7 +7,7 @@ name = "python-barcode" description = "Create standard barcodes with Python. No external modules needed. (optional Pillow support included)." readme = "README.rst" requires-python = ">=3.11" -license = { text = "MIT" } +license = "MIT" authors = [ { name = "Hugo Osvaldo Barrera et al", email = "hugo@whynothugo.nl" } ] @@ -15,7 +15,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3",