ffd4820d59
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 |
||
---|---|---|
.. | ||
install.d/pip-and-virtualenv-source-install | ||
test-elements | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
README.rst | ||
source-repository-pip-and-virtualenv |
================== 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.