diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-07-23 13:10:13 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2018-07-23 13:10:13 -0400 |
commit | 2af3d4c51bca6a769a681cdfee10c9eda02b0838 (patch) | |
tree | e919e074fb1d98d6007ae260dff5eaf0e7cad602 | |
parent | 162a17e246f51c90f61fe135e1db1006965a3385 (diff) | |
download | cryptography-2af3d4c51bca6a769a681cdfee10c9eda02b0838.tar.gz cryptography-2af3d4c51bca6a769a681cdfee10c9eda02b0838.tar.bz2 cryptography-2af3d4c51bca6a769a681cdfee10c9eda02b0838.zip |
Fixes #3548 - add a pyproject.toml (#4363)
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rw-r--r-- | pyproject.toml | 7 | ||||
-rw-r--r-- | setup.py | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index b05a869c..373c2420 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,6 +6,8 @@ include LICENSE.APACHE include LICENSE.BSD include README.rst +include pyproject.toml + recursive-include docs * recursive-include src/_cffi_src *.py *.c *.h prune docs/_build diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..461675f0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[build-system] +# Must be kept in sync with `setup_requirements` in `setup.py` +requires = [ + "setuptools>=18.5", + "wheel", + "cffi>=1.7,!=1.11.3; python_implementation != 'PyPy'", +] @@ -43,6 +43,7 @@ with open(os.path.join(src_dir, "cryptography", "__about__.py")) as f: VECTORS_DEPENDENCY = "cryptography_vectors=={0}".format(about['__version__']) +# `setup_requirements` must be kept in sync with `pyproject.toml` setup_requirements = ["cffi>=1.7,!=1.11.3"] if platform.python_implementation() == "PyPy": |