diskimage-builder/elements/dib-python
Paul Belanger 6d82543682 Add ubuntu-precise support to dib-python
Change-Id: I2796da88d839ed49ec28ae7b139ede04af51f068
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-16 11:27:45 -05:00
..
environment.d Add ubuntu-precise support to dib-python 2016-12-16 11:27:45 -05:00
pre-install.d Make dib-python use the default python for distro 2016-12-09 09:25:37 -08:00
README.rst Make dib-python use the default python for distro 2016-12-09 09:25:37 -08:00

==========
dib-python
==========

Adds a symlink to /usr/local/bin/dib-python which points at either a python2
or python3 executable. This is useful for creating #! lines for scripts that
are compatible with both python2 and python3.

This does not install a python if one does not exist, and instead fails.

This also exports a variable DIB_PYTHON_VERSION which will either be '2' or
'3' depending on the python version which dib-python points to.