Skip to content

Commit ae96135

Browse files
committed
Make the pyproject.toml PEP 639 compliant
Building with `python -m build` (same command I have been using all along) started warning me about a deprecated way to specify the license, so I migrated to the alternative the former suggested.
1 parent a6200cd commit ae96135

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"Environment :: Console",
1313
"Intended Audience :: Developers",
14-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
1514
"Operating System :: POSIX",
1615
"Programming Language :: Python :: 3",
1716
"Topic :: Software Development :: Libraries",
1817
"Topic :: Text Processing"
1918
]
2019
description = "A CSS parsing library"
2120
dynamic = [ "version" ]
22-
license = { file = "LICENSE.txt" }
21+
license = "GPL-3.0-only"
22+
license-files = [ "LICENSE.txt" ]
2323
readme = "README.md"
2424
requires-python = ">=3.11"
2525

0 commit comments

Comments
 (0)