We have support for installing python from pyenv, but it currently requires setting the python version explicitly as an argument. If the repo in question has a .python-version file, we shouldn't need to require the user to provide that version a second time. Instead, we can read from the file for the install step. Change-Id: Ic4c2d3fc7f55169cec5211010fc3a9622fa324d1
Ensure specified python interpreter and development files are installed
There are three ways to install the python interpreter:
- Using distribution packages: This is the default
(
python_use_pyenvandpython_use_stoware bothfalse). - Install using
pyenv. - 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