Skip to content

Commit dfadde5

Browse files
DEV: Modernize license specifiers (#3338)
Migrate to PEP 639 license expressions. Requires flit>=3.11: https://flit.pypa.io/en/stable/history.html#version-3-11
1 parent 323e649 commit dfadde5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

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

55
[project]
@@ -9,12 +9,12 @@ maintainers = [{ name = "stefan6419846" }, { name = "Martin Thoma", email = "inf
99
description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files"
1010
readme = "README.md"
1111
dynamic = ["version"]
12-
license = { file = "LICENSE" }
12+
license = "BSD-3-Clause"
13+
license-files = ["LICENSE"]
1314
requires-python = ">=3.8"
1415
classifiers = [
1516
"Development Status :: 5 - Production/Stable",
1617
"Intended Audience :: Developers",
17-
"License :: OSI Approved :: BSD License",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
2020
"Programming Language :: Python :: 3.8",

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ exceptiongroup==1.2.2
2424
# via pytest
2525
filelock==3.16.1
2626
# via virtualenv
27-
flit==3.9.0
27+
flit==3.11.0
2828
# via -r requirements/dev.in
29-
flit-core==3.9.0
29+
flit-core==3.11.0
3030
# via flit
3131
identify==2.6.1
3232
# via pre-commit

0 commit comments

Comments
 (0)