Skip to content

Commit

Permalink
fix PEP 518 configuration
Browse files Browse the repository at this point in the history
Add `build-system.requires` key to `pyproject.toml`:
- this is necessary with pip 10.0.1, as otherwise the defaults will be
  to require both `setuptools` and `wheel` (and we only need the later)
- a `pyproject.toml` with no `build-system.requires` key will be invalid
  and rejected by a future version of pip
  (see pypa/pip#5416 (comment))
  • Loading branch information
benoit-pierre committed Jun 28, 2018
1 parent 5c81648 commit 601f82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/1404.misc.rst
@@ -0,0 +1 @@
Fix PEP 518 configuration: set build requirements in ``pyproject.toml`` to ``["wheel"]``.
3 changes: 3 additions & 0 deletions pyproject.toml
@@ -1,3 +1,6 @@
[build-system]
requires = ["wheel"]

[tool.towncrier]
package = "setuptools"
package_dir = "setuptools"
Expand Down

0 comments on commit 601f82e

Please sign in to comment.