Upgrades pip under virtualenv

The version of pip supported by python-virtualenv has issues in
environment under proxy, hence uninstalling python-virtualenv package
and installing the latest version using pip.

Change-Id: Id749c37ab7fefa96b35f11816b56b9def5ef4b08
Closes-Bug: 1421541
This commit is contained in:
Vigneshvar.A.S 2015-02-14 01:05:55 +05:30 committed by vigneshvar
parent 7cffc6c992
commit 834b804d3e
1 changed files with 6 additions and 0 deletions

View File

@ -123,3 +123,9 @@ if is_fedora; then
fi
fi
# The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has
# connection issues under proxy, hence uninstalling python-virtualenv package
# and installing the latest version using pip.
uninstall_package python-virtualenv
pip_install -U virtualenv