summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2021-10-23 19:18:21 -0400
committerGitHub <noreply@github.com>2021-10-24 07:18:21 +0800
commit1c348a02e6221bfbfa2073efff79bf352984da0d (patch)
tree974dce332d6f9a16a4a580dfe29388e3edd9fb9e
parent48a947ae4d83a99ac949cc6fdef17fc29d2464cd (diff)
downloadcryptography-1c348a02e6221bfbfa2073efff79bf352984da0d.tar.gz
Remove setup_requires -- setuptools has deprecated it (#6465)
* Remove setup_requires -- setuptools has deprecated it * Update comments
-rw-r--r--pyproject.toml2
-rw-r--r--setup.cfg6
2 files changed, 2 insertions, 6 deletions
diff --git a/pyproject.toml b/pyproject.toml
index a942869cd..64d3ce3bc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ requires = [
# and may be stricter than the version required in `setup.cfg`
"setuptools>=40.6.0",
"wheel",
- # Must be kept in sync with the `setup_requirements` in `setup.cfg`
+ # Must be kept in sync with the `install_requirements` in `setup.cfg`
"cffi>=1.12; platform_python_implementation != 'PyPy'",
"setuptools-rust>=0.11.4",
]
diff --git a/setup.cfg b/setup.cfg
index de1eaf468..b19314067 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,13 +44,9 @@ package_dir =
=src
packages = find:
ext_package = cryptography.hazmat.bindings
-# `install_requires` and `setup_requires` must be kept in sync with
-# `pyproject.toml`
+# `install_requires` must be kept in sync with `pyproject.toml`
install_requires =
cffi >=1.12
-setup_requires =
- cffi >=1.12
- setuptools_rust >= 0.11.4
[options.packages.find]
where = src