cmake.python_virt_env

cmake.python_virt_env.make_python_venv(mpv_exe mpv_venv)

Wraps the process of creating a virtual Python environment.

Parameters:
  • mpv_exe – The Python interpreter to use to make the virtual environment

  • mpv_venv – The full path to the virtual environment

cmake.python_virt_env.python_venv_pip_install(pvpi_venv)

Wraps the process of installing a Python module into a virtual Python environment, via pip.

Parameters:
  • pvpi_venv – The full path to the Python virtual environment into which we are installing the Python module.

  • pvpi_module – The name of the pip package we are installing.