aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-12-01 09:14:49 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-12-01 09:14:49 -0500
commit7a709b6d30dac9409707b1b9bf50cd7022e35118 (patch)
treeb8c9a8633030467aea8c88f8dbfb7a4aabd9306a
parentcbd977b8252f1df53aca7f09cf6160590b3b2ed0 (diff)
downloadexternal_python_setuptools-7a709b6d30dac9409707b1b9bf50cd7022e35118.tar.gz
external_python_setuptools-7a709b6d30dac9409707b1b9bf50cd7022e35118.tar.bz2
external_python_setuptools-7a709b6d30dac9409707b1b9bf50cd7022e35118.zip
Restore build-backend and remove switch to avoid pep517. Ref #1644.
-rw-r--r--pyproject.toml3
-rw-r--r--tools/tox_pip.py6
2 files changed, 2 insertions, 7 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 07c23bb5..5a2d7d3b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,6 @@
[build-system]
-requires = ["wheel"]
+requires = ["setuptools >= 40.8", "wheel"]
+build-backend = "setuptools.build_meta"
[tool.towncrier]
package = "setuptools"
diff --git a/tools/tox_pip.py b/tools/tox_pip.py
index 5aeca805..63518f92 100644
--- a/tools/tox_pip.py
+++ b/tools/tox_pip.py
@@ -21,12 +21,6 @@ def pip(args):
pypath = pypath.split(os.pathsep) if pypath is not None else []
pypath.insert(0, TOX_PIP_DIR)
os.environ['PYTHONPATH'] = os.pathsep.join(pypath)
- # Disable PEP 517 support when using editable installs.
- for n, a in enumerate(args):
- if not a.startswith('-'):
- if a in 'install' and '-e' in args[n:]:
- args.insert(n + 1, '--no-use-pep517')
- break
# Fix call for setuptools editable install.
for n, a in enumerate(args):
if a == '.':