Skip to content

Commit c6237f7

Browse files
authored
Use PEP 639 licence metadata (#13345)
1 parent db58e42 commit c6237f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["flit_core>=3.10"]
2+
requires = ["flit_core>=3.11"]
33
build-backend = "flit_core.buildapi"
44

55
# project metadata
@@ -13,7 +13,10 @@ urls.Documentation = "https://www.sphinx-doc.org/"
1313
urls.Download = "https://pypi.org/project/Sphinx/"
1414
urls.Homepage = "https://www.sphinx-doc.org/"
1515
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues"
16-
license.text = "BSD-2-Clause"
16+
license = "BSD-2-Clause"
17+
license-files = [
18+
"LICENSE.rst",
19+
]
1720
requires-python = ">=3.11"
1821

1922
# Classifiers list: https://pypi.org/classifiers/
@@ -28,7 +31,6 @@ classifiers = [
2831
"Intended Audience :: Other Audience",
2932
"Intended Audience :: Science/Research",
3033
"Intended Audience :: System Administrators",
31-
"License :: OSI Approved :: BSD License",
3234
"Operating System :: OS Independent",
3335
"Programming Language :: Python",
3436
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)