Skip to content

Commit 7a709b6

Browse files
committed
Restore build-backend and remove switch to avoid pep517. Ref #1644.
1 parent cbd977b commit 7a709b6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build-system]
2-
requires = ["wheel"]
2+
requires = ["setuptools >= 40.8", "wheel"]
3+
build-backend = "setuptools.build_meta"
34

45
[tool.towncrier]
56
package = "setuptools"

tools/tox_pip.py

-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ def pip(args):
2121
pypath = pypath.split(os.pathsep) if pypath is not None else []
2222
pypath.insert(0, TOX_PIP_DIR)
2323
os.environ['PYTHONPATH'] = os.pathsep.join(pypath)
24-
# Disable PEP 517 support when using editable installs.
25-
for n, a in enumerate(args):
26-
if not a.startswith('-'):
27-
if a in 'install' and '-e' in args[n:]:
28-
args.insert(n + 1, '--no-use-pep517')
29-
break
3024
# Fix call for setuptools editable install.
3125
for n, a in enumerate(args):
3226
if a == '.':

0 commit comments

Comments
 (0)