diskimage-builder/elements/pip-and-virtualenv
Bernard Cafarelli fedea46c9e
pip-and-virtualenv: also handle rhel distros
The current pip install script only checked for centos/fedora
This causes setuptools errrors like (with pbr install):
"SyntaxError: '<' operator not allowed in environment markers"

Explictly list distro names in that situation

Change-Id: I5c894ab6152acf5441231acc1215fe00967f4f31
2017-02-21 16:09:13 +01:00
..
install.d/pip-and-virtualenv-source-install pip-and-virtualenv: also handle rhel distros 2017-02-21 16:09:13 +01:00
test-elements Create ubuntu/fedora test for pip-and-virtualenv 2016-12-15 18:00:41 +00:00
element-deps Fix pip-and-virtualenv to work with python3 2016-12-14 17:14:02 +11:00
package-installs.yaml Fix pip-and-virtualenv to work with python3 2016-12-14 17:14:02 +11:00
pkg-map update pkg-map entries for python3 2016-12-23 20:17:34 -06:00
README.rst Pip install as 10- incompatible with 05-heat-cfntools 2016-12-14 20:50:00 +00:00
source-repository-pip-and-virtualenv add pkg-map to pip-and-virtualenv element 2016-03-21 20:12:37 -05: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.