diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-08-12 19:00:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 19:00:17 -0400 |
| commit | bbf99b7e599766e15dc56f58f68fe6c32c972faf (patch) | |
| tree | 97d5f78b1452d939b38e57e03a27a3fcae513501 | |
| parent | 9755c3bc2bf1fe50bf67dccb583ffad9d57f7bab (diff) | |
| parent | 79d2a47528a35c3c955e117b3912fe0ac7dc36e2 (diff) | |
| download | python-setuptools-git-bbf99b7e599766e15dc56f58f68fe6c32c972faf.tar.gz | |
Merge pull request #1455 from benoit-pierre/fix_tests
tox: fix configuration so newer tox versions are supported
| -rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,12 @@ envlist=python [testenv] deps=-rtests/requirements.txt +# Changed from default (`python -m pip ...`) +# to prevent the current working directory +# from being added to `sys.path`. +install_command={envbindir}/pip install {opts} {packages} +# Same as above. +list_dependencies_command={envbindir}/pip freeze setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname} # TODO: The passed environment variables came from copying other tox.ini files # These should probably be individually annotated to explain what needs them. |
