The value of python_version is float by default. The existing comparison will only work for strings. This commit changes it to work in both cases. Change-Id: Ib13c33f38b611a38525d2803474b4ae1e05413f7
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
Optional version of python interpreter to install, such as
3.7.