Add -U option to pip install command

Ask pip to upgrade packages in the virtualenv so that a long-lived
virtualenv is still kept up to date as external dependencies change.

Change-Id: I6a7da0a46ec8897f34cfeb38e5741e9ce0167cb2
This commit is contained in:
David Shrewsbury 2013-12-12 12:39:11 -05:00
parent 3fb0401679
commit c18ed6aa40
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'