diskimage-builder/diskimage_builder/elements/pip-and-virtualenv
Ian Wienand ffd4820d59 Install pip with python interpreter
Currently we install pip/virtualenv with "/usr/local/bin/dib-python".
This means that every time you create a virtualenv, the python
interpreter inside it is called "dib-python" which is confusing.

Add an env var DIB_PYTHON that points directly the to interpreter
available during build, for use when running scripts.

Change-Id: I88ad3c9eb958d58db4631d9b27bc2c592f970345
2017-04-11 18:59:09 +10:00
..
install.d/pip-and-virtualenv-source-install Install pip with python interpreter 2017-04-11 18:59:09 +10:00
test-elements Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
element-deps Release 1.25.2 2017-02-02 11:20:00 +11:00
package-installs.yaml Release 1.25.2 2017-02-02 11:20:00 +11:00
pkg-map Release 1.27.0 2017-02-03 11:49:45 +11:00
README.rst Release 1.25.2 2017-02-02 11:20:00 +11:00
source-repository-pip-and-virtualenv Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00

==================
pip-and-virtualenv
==================

This element installs pip and virtualenv in the image. If the package
installtype is used then these programs are installed from distribution
packages. If the source installtype is used these programs are installed
from get-pip.py and pip (respectively).

To install pip and virtualenv from package:

  export DIB_INSTALLTYPE_pip_and_virtualenv=package

Any element that uses these commands must be designated as
05-* or higher to ensure that they are first installed.