From 0d30f5d5ba23c51e63681309b2acd09b9b998bb3 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Wed, 27 Feb 2019 20:22:18 -0500 Subject: Add PEP 517 to pyproject.toml (#4783) This puts a new minimum on the PEP 518 requirement for `setuptools` because older versions of setuptools' PEP 517 backend will fail to include `setup.py` in an sdist. --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 7d64f993..21475bbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,10 @@ [build-system] -# Must be kept in sync with `setup_requirements` in `setup.py` requires = [ - "setuptools>=18.5", + # The minimum setuptools version is specific to the PEP 517 backend, + # and may be stricter than the version required in `setup.py` + "setuptools>=40.6.0", "wheel", + # Must be kept in sync with the `setup_requirements` in `setup.py` "cffi>=1.8,!=1.11.3; python_implementation != 'PyPy'", ] +build-backend = "setuptools.build_meta" -- cgit v1.2.3