diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-21 22:07:49 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-21 22:08:23 -0500 |
commit | 620bd62c00985b551dde326619a6c895d7c80e63 (patch) | |
tree | 712b061d4f6fcb7d8f1324dd40ed15b43e45eec3 | |
parent | 461ea400887a576dba102816f72af1d6966e1768 (diff) | |
download | external_python_setuptools-620bd62c00985b551dde326619a6c895d7c80e63.tar.gz external_python_setuptools-620bd62c00985b551dde326619a6c895d7c80e63.tar.bz2 external_python_setuptools-620bd62c00985b551dde326619a6c895d7c80e63.zip |
Set PIP_USE_PEP517 in installer command so as not to influence the tests with that setting.
-rw-r--r-- | tools/tox_pip.py | 2 | ||||
-rw-r--r-- | tox.ini | 1 |
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() @@ -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 |