Merge "Force reinstall of virtualenv to ensure installation is valid"
This commit is contained in:
commit
124970cc38
@ -162,7 +162,11 @@ if is_fedora; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has
|
# The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has
|
||||||
# connection issues under proxy, hence uninstalling python-virtualenv package
|
# connection issues under proxy so re-install the latest version using
|
||||||
# and installing the latest version using pip.
|
# pip. To avoid having pip's virtualenv overwritten by the distro's
|
||||||
uninstall_package python-virtualenv
|
# package (e.g. due to installing a distro package with a dependency
|
||||||
pip_install -U virtualenv
|
# on python-virtualenv), first install the distro python-virtualenv
|
||||||
|
# to satisfy any dependencies then use pip to overwrite it.
|
||||||
|
|
||||||
|
install_package python-virtualenv
|
||||||
|
pip_install -U --force-reinstall virtualenv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user