diff options
author | Daniel Bengtsson <dbengt@redhat.com> | 2019-11-15 10:18:38 +0100 |
---|---|---|
committer | Daniel Bengtsson <dbengt@redhat.com> | 2019-11-15 10:19:00 +0100 |
commit | 1f9fe0319b20629938baf44ec8acb24522adf509 (patch) | |
tree | 8a6ea2e8d12fa9e2fad79469e3c426d8672bb5c7 | |
parent | 4767d9de228d09f9a5f85f5b6a12172c1a340108 (diff) | |
download | python-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.ini | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 = |