zuul-jobs/roles/ensure-python/README.rst

1.3 KiB

Ensure specified python interpreter and development files are installed

Note

This role is only available for Debian based platforms currently.

There are three ways to install the python interpreter:

  1. Using distribution packages: This is the default (python_use_pyenv and python_use_stow are both false``).
  2. Install using pyenv.
  3. Install using stow.

Note

You cannot use both pyenv and stow method for the same job. That means that python_use_pyenv and python_use_stow cannot be set both to True at the same time.

Role Variables

Optional version of python interpreter to install, such as 3.7.