Skip to content

Commit

Permalink
Pin the lower bound of PEP517-required setuptools (#171)
Browse files Browse the repository at this point in the history
* Pin the lower bound of PEP517-required setuptools

It fails with Pip's buggy build env isolation combined with the
default fallback for the build backend which is
``setuptools.build_meta.__legacy__``.

* Point to setuptools PEP 517 backend explicitly
  • Loading branch information
webknjaz authored and alex committed May 7, 2019
1 parent 0920783 commit bc8a55e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[build-system]
# Must be kept in sync with `setup_requirements` in `setup.py`
requires = [
"setuptools",
"setuptools>=40.8.0",
"wheel",
"cffi>=1.1; python_implementation != 'PyPy'",
]
# Point to the setuptools' PEP517 build backend explicitly to
# disable Pip's fallback guessing
build-backend = "setuptools.build_meta"

0 comments on commit bc8a55e

Please sign in to comment.