diff --git a/docs/changelog.rst b/docs/changelog.rst index 6309ee6..b18a7a2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,12 @@ Changelog --------- +Unreleased +~~~~~~~~~~ +* Migrate ``project.license`` to an SPDX expression and drop the deprecated + ``License ::`` trove classifier, silencing the ``setuptools >=77`` + deprecation warning. (#260) + v0.16.2 ~~~~~~~ * Add support for Python 3.13. diff --git a/pyproject.toml b/pyproject.toml index 7949cb9..4df8703 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.9" -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",