3 Commits

Author SHA1 Message Date
jgilaber
1f3920f6eb Add patch to list of build dependencies
This commit adds the patch package to the list of python build
dependencies for pyenv. This is not always necessary, but some python
versions (for example 3.7.12) require a patch to be applied before
installing and the process fails if the patch package is not installed.

Change-Id: I605fc1c9255e98692a6a901cfc509b7fdb873ae1
2022-02-17 10:16:25 +01:00
Mohammed Naser
3fc4f44958 pyenv: install libffi-dev
Without this package, you'll get an error similar to this:

  ModuleNotFoundError: No module named '_ctypes'

Change-Id: If1b7b66217a33c9001a20449d695cd91dfa2e3c6
2020-05-09 14:03:51 -05:00
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