@@ -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]
1414build-backend = " maturin"
1515
@@ -21,12 +21,11 @@ authors = [
2121]
2222description = " cryptography is a package which provides cryptographic recipes and primitives to Python developers."
2323readme = " 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" ]
2526classifiers = [
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"]
105104include = [
106105 " CHANGELOG.rst" ,
107106 " CONTRIBUTING.rst" ,
108- " LICENSE" ,
109- " LICENSE.APACHE" ,
110- " LICENSE.BSD" ,
111107
112108 " docs/**/*" ,
113109
0 commit comments