summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bengtsson <dbengt@redhat.com>2019-11-15 10:18:38 +0100
committerDaniel Bengtsson <dbengt@redhat.com>2019-11-15 10:19:00 +0100
commit1f9fe0319b20629938baf44ec8acb24522adf509 (patch)
tree8a6ea2e8d12fa9e2fad79469e3c426d8672bb5c7
parent4767d9de228d09f9a5f85f5b6a12172c1a340108 (diff)
downloadpython-glanceclient-1f9fe0319b20629938baf44ec8acb24522adf509.tar.gz
Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is considered poor behavior and 'python -m pip' should be used instead: https://snarky.ca/why-you-should-use-python-m-pip/ It turns out that this is the the default value provided by tox: https://tox.readthedocs.io/en/latest/config.html#conf-install_command So we can remove the line and simply use the default value. Change-Id: Idd3d92657a7c17370afc0d0c35cc4666025ab9d6
-rw-r--r--tox.ini4
1 files changed, 1 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index b9e681f..9961c51 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,9 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
-install_command = pip install {opts} {packages}
-setenv = VIRTUAL_ENV={envdir}
- OS_STDOUT_NOCAPTURE=False
+setenv = OS_STDOUT_NOCAPTURE=False
OS_STDERR_NOCAPTURE=False
deps =