Skip to content

Commit 3d6a3e1

Browse files
committed
Address deprecated license metadata
setuptools no longer supports a table in the license field. Instead a SPDX identifier should be used [1]. [1] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
1 parent aba20aa commit 3d6a3e1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ maintainers = [
99
]
1010
description = "Generate Python stub files from docstrings"
1111
readme = "README.md"
12-
license = {file = "LICENSE"}
12+
license = "BSD-3-Clause"
13+
license-files = ["LICENSE"]
1314
requires-python = ">=3.12"
15+
keywords = ["typing", "stub files", "docstings", "numpydoc"]
1416
classifiers = [
1517
"Development Status :: 3 - Alpha",
1618
"Environment :: Console",
1719
"Intended Audience :: Developers",
1820
"Intended Audience :: Science/Research",
19-
"License :: OSI Approved :: BSD License",
2021
"Operating System :: OS Independent",
2122
"Programming Language :: Python",
2223
"Programming Language :: Python :: 3",
@@ -49,7 +50,7 @@ test = [
4950
]
5051

5152
[project.urls]
52-
Home = "https://github.com/lagru/docstub"
53+
Homepage = "https://github.com/lagru/docstub"
5354

5455
[project.scripts]
5556
docstub = "docstub.__main__:cli"

0 commit comments

Comments
 (0)