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: I50080434a5a11226300eb699fd31103c5e9f5e28
This commit is contained in:
Daniel Bengtsson 2019-11-15 11:27:57 +01:00
parent 5d28723e27
commit bcd6f79ad7
1 changed files with 0 additions and 3 deletions

View File

@ -9,9 +9,6 @@ ignore_basepython_conflict=true
[testenv]
usedevelop = True
basepython = python3
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}