zuul-jobs/roles/ensure-python/README.rst
Monty Taylor e71d0d2607 Add support for installing python with pyenv
In order to install particular python versions on distros that
don't otherwise have them, add an option for installing via
pyenv.

The packages to be installed to allow for Python to be built were
tested on the official Docker containers so they should provide
a fair amount of coverage from a minimal environment.

Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
Change-Id: Ic3312458b499a4b743895fa5829bb25155f77654
2020-03-17 17:32:49 -04:00

17 lines
422 B
ReStructuredText

Ensure specified python interpreter and development files are installed
.. note:: This role is only available for Debian based platforms
currently.
**Role Variables**
.. zuul:rolevar:: python_version
Optional version of python interpreter to install, such as ``3.7``.
.. zuul:rolevar:: python_use_pyenv
:default: false
Whether to optionally use pyenv to install python instead of distro
packages.