Add -U to pip install command in tox.ini

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: Ife76a83be95fed7cc4b99bb50a97277d0751e76c
This commit is contained in:
James E. Blair
2013-12-11 08:55:12 -08:00
parent 6f27ffa467
commit 376cf4defa

View File

@ -5,7 +5,7 @@ envlist = py26,py27,pep8
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en