summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-08-12 19:00:17 -0400
committerGitHub <noreply@github.com>2018-08-12 19:00:17 -0400
commitbbf99b7e599766e15dc56f58f68fe6c32c972faf (patch)
tree97d5f78b1452d939b38e57e03a27a3fcae513501
parent9755c3bc2bf1fe50bf67dccb583ffad9d57f7bab (diff)
parent79d2a47528a35c3c955e117b3912fe0ac7dc36e2 (diff)
downloadpython-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.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1a369653..3b03b7db 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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.