Skip to content

Commit bbed04f

Browse files
committed
Migrate license metadata to SPDX expression per PEP 639
Replace the deprecated `license = {file = "LICENSE"}` TOML table with a plain SPDX expression (`license = "GPL-3.0-only"`) and an explicit `license-files` entry, and drop the now-redundant license trove classifier. Fixes deprecation warnings from setuptools >= 77. Signed-off-by: Nils Le Roux <gilbsgilbert@gmail.com>
1 parent 9005e9d commit bbed04f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ authors = [
1010
description = "A CD-DA ripper prioritising accuracy over speed"
1111
requires-python = ">=3.6"
1212
readme = "README.md"
13-
license = {file = "LICENSE"}
13+
license = "GPL-3.0-only"
14+
license-files = ["LICENSE"]
1415
classifiers = [
1516
"Environment :: Console",
1617
"Intended Audience :: End Users/Desktop",
1718
"Topic :: Multimedia :: Sound/Audio",
1819
"Programming Language :: Python :: 3",
19-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
2020
]
2121
dependencies = [
2222
"musicbrainzngs",

0 commit comments

Comments
 (0)