tripleo-image-elements/elements/pip-and-virtualenv
Michael Kerrin 09e1abdfdc Install latest version of pip and virtualenv
We install pip with get-pip.py and use this to install virtualenv. This
is done as part of the new pip-and-virtualenv element. All elements that
need pip or virtualenv should use this element to install them.

Our motivation is that we need to talk to a pypi mirror generated with
a recent http://github.com/openstack-infra/pypi-mirror This mirror
caches some 'wheels' that the previous version of pip & virtualenv
can't install.

virtualenv contains its own version of pip that is used for all
virtualenv environments.

Change-Id: I282fd8fffc8d5707a078f78f2b4571138d7266f3
2014-03-10 10:06:59 +00:00
..
install.d Install latest version of pip and virtualenv 2014-03-10 10:06:59 +00:00
README.md Install latest version of pip and virtualenv 2014-03-10 10:06:59 +00:00
element-deps Install latest version of pip and virtualenv 2014-03-10 10:06:59 +00:00
source-repository-pip-and-virtualenv Install latest version of pip and virtualenv 2014-03-10 10:06:59 +00:00

README.md

Install latest pip and virtualenv

We have problems with the latest binary package of pip and virtualenv. Packaged version of pip can be old and virtualenv can also contain its own version of pip. Issues include downloading packages from a local pypi mirror that include a wheel package for pip.

The element follows the instructions from the pip website here: http://www.pip-installer.org/en/latest/installing.html on how to install the latest version of pip. That is to download get-pip.py and run this file.

We use source-repositories element to download the file so it will be cached and can be overridden to use package if that is required.