Skip to content

Commit 2e63fe1

Browse files
committed
Make license info compatible with PEP 639
https://peps.python.org/pep-0639/ Fixes issues like: SyntaxWarning: invalid escape sequence '\[' verb_loop = re.compile("^( .*)@\[[a-z]*\]", re.MULTILINE) /root/.cache/uv/builds-v0/.tmp70O2Lb/lib/python3.13/site-packages/setupto ols/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated (that's for setuptools, but meson-python should throw a similar error at some point)
1 parent 2227b12 commit 2e63fe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ maintainers = [
1414
dependencies = ["cysignals>=1.11.3"]
1515
requires-python = ">=3.9"
1616
readme = "README.rst"
17-
license = { text = "GNU General Public License, version 2 or later" }
17+
license = "GPL-2.0-or-later"
18+
license-files = ["LICENSE"]
1819
keywords = ["PARI/GP number theory"]
1920
dynamic = ["version"]
2021

0 commit comments

Comments
 (0)