Skip to content

Commit b36d081

Browse files
committed
Update license metadata and copyright year
New metadata fixes deprecation warnings from setuptools
1 parent 44ff192 commit b36d081

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
# setuptools >=64.0.0 might break editable installs
44
# https://github.com/pypa/setuptools/issues/3548
5-
"setuptools >=61.0.0",
5+
"setuptools >=77.0.3",
66
"setuptools_scm[toml]>=6.2",
77
"wheel>=0.37.1",
88
"cffi>=1.15",
@@ -19,7 +19,12 @@ description = "The official Python port of libtcod."
1919
authors = [{ name = "Kyle Benesch", email = "[email protected]" }]
2020
readme = "README.rst"
2121
requires-python = ">=3.10"
22-
license = { text = "Simplified BSD License" }
22+
license = "BSD-2-Clause"
23+
license-files = [
24+
"LICENSE.txt",
25+
"libtcod/LICENSE.txt",
26+
"libtcod/LIBTCOD-CREDITS.txt",
27+
]
2328
dependencies = [
2429
"cffi>=1.15",
2530
'numpy>=1.21.4; implementation_name != "pypy"',
@@ -39,7 +44,6 @@ classifiers = [
3944
"Environment :: MacOS X",
4045
"Environment :: X11 Applications",
4146
"Intended Audience :: Developers",
42-
"License :: OSI Approved :: BSD License",
4347
"Natural Language :: English",
4448
"Operating System :: POSIX",
4549
"Operating System :: MacOS :: MacOS X",

0 commit comments

Comments
 (0)