Skip to content

Commit 429cd7c

Browse files
committed
Update pyproject license metadata for PEP 639
Signed-off-by: Facundo Tuesca <[email protected]>
1 parent 5251a93 commit 429cd7c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/requirements/build-requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Must be kept sync with build-system.requires at pyproject.toml
2-
setuptools!=74.0.0
2+
setuptools>=77.0.3
33
cffi>=1.12; platform_python_implementation != 'PyPy'
44
maturin>=1,<2
55

pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requires = [
99
# Used by cffi (which import distutils, and in Python 3.12, distutils has
1010
# been removed from the stdlib, but installing setuptools puts it back) as
1111
# well as our build.rs for the rust/cffi bridge.
12-
"setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2",
12+
"setuptools>=77.0.3",
1313
]
1414
build-backend = "maturin"
1515

@@ -21,12 +21,11 @@ authors = [
2121
]
2222
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
2323
readme = "README.rst"
24-
license = { text = "Apache-2.0 OR BSD-3-Clause" }
24+
license = "Apache-2.0 OR BSD-3-Clause"
25+
license-files = [ "LICENSE", "LICENSE.APACHE", "LICENSE.BSD" ]
2526
classifiers = [
2627
"Development Status :: 5 - Production/Stable",
2728
"Intended Audience :: Developers",
28-
"License :: OSI Approved :: Apache Software License",
29-
"License :: OSI Approved :: BSD License",
3029
"Natural Language :: English",
3130
"Operating System :: MacOS :: MacOS X",
3231
"Operating System :: POSIX",
@@ -105,9 +104,6 @@ features = ["pyo3/abi3-py37"]
105104
include = [
106105
"CHANGELOG.rst",
107106
"CONTRIBUTING.rst",
108-
"LICENSE",
109-
"LICENSE.APACHE",
110-
"LICENSE.BSD",
111107

112108
"docs/**/*",
113109

0 commit comments

Comments
 (0)