Skip to content

Commit 2b99334

Browse files
committed
Update license metadata and copyright year
New metadata fixes deprecation warnings from setuptools Packaging module required by setuptools for license metadata, older versions of cibuildwheel pinned an old version of it.
1 parent 44ff192 commit 2b99334

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
- name: Install Python dependencies
236236
run: |
237237
python -m pip install --upgrade pip
238-
pip install cibuildwheel==2.19.2
238+
pip install cibuildwheel==2.23.3
239239
- name: Build wheels
240240
run: |
241241
python -m cibuildwheel --output-dir wheelhouse
@@ -290,7 +290,7 @@ jobs:
290290
# Downloads SDL2 for the later step.
291291
run: python build_sdl.py
292292
- name: Build wheels
293-
uses: pypa/cibuildwheel@v2.19.2
293+
uses: pypa/cibuildwheel@v2.23.3
294294
env:
295295
CIBW_BUILD: ${{ matrix.python }}
296296
CIBW_ARCHS_MACOS: x86_64 arm64 universal2

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)