aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/tox_pip.py2
-rw-r--r--tox.ini1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/tox_pip.py b/tools/tox_pip.py
index 6f457bb2..9fe4f905 100644
--- a/tools/tox_pip.py
+++ b/tools/tox_pip.py
@@ -68,6 +68,8 @@ def disable_python_requires():
def run(args):
+ os.environ['PIP_USE_PEP517'] = 'true'
+
if is_install_self(args):
remove_setuptools()
bootstrap()
diff --git a/tox.ini b/tox.ini
index 3eb408cc..a5ce930f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,6 @@ install_command = {[helpers]pip} install {opts} {packages}
list_dependencies_command = {[helpers]pip} freeze --all
setenv =
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
- PIP_USE_PEP517=1
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
passenv=APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED