Skip to content

Commit 2bde8d8

Browse files
committed
Update license metadata and copyright year
New metadata fixes deprecation warnings from setuptools Packaging module required by setuptools for license metadata
1 parent 44ff192 commit 2bde8d8

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2009-2023, Kyle Benesch and the python-tcod contributors.
3+
Copyright (c) 2009-2025, Kyle Benesch and the python-tcod contributors.
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
# General information about the project.
6767
project = "python-tcod"
68-
copyright = "2009-2023, Kyle Benesch"
68+
copyright = "2009-2025, Kyle Benesch"
6969
author = "Kyle Benesch"
7070

7171
# The version info for the project you're documenting, acts as replacement for

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
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",
7+
"packaging>=24.2",
78
"wheel>=0.37.1",
89
"cffi>=1.15",
910
"pycparser>=2.14",
@@ -19,7 +20,12 @@ description = "The official Python port of libtcod."
1920
authors = [{ name = "Kyle Benesch", email = "4b796c65+tcod@gmail.com" }]
2021
readme = "README.rst"
2122
requires-python = ">=3.10"
22-
license = { text = "Simplified BSD License" }
23+
license = "BSD-2-Clause"
24+
license-files = [
25+
"LICENSE.txt",
26+
"libtcod/LICENSE.txt",
27+
"libtcod/LIBTCOD-CREDITS.txt",
28+
]
2329
dependencies = [
2430
"cffi>=1.15",
2531
'numpy>=1.21.4; implementation_name != "pypy"',
@@ -39,7 +45,6 @@ classifiers = [
3945
"Environment :: MacOS X",
4046
"Environment :: X11 Applications",
4147
"Intended Audience :: Developers",
42-
"License :: OSI Approved :: BSD License",
4348
"Natural Language :: English",
4449
"Operating System :: POSIX",
4550
"Operating System :: MacOS :: MacOS X",

0 commit comments

Comments
 (0)