[][src]Module origen::python

Structs

Config
PYTHON_CONFIG

Constants

MIN_PYTHON_VERSION
PYTHONS

Functions

add_origen_env

Adds any Origen-related environment settings to a command

extract_version
get_version

Get the Python version from the given command

poetry_version

Returns the version of poetry (obtained from running "poetry --version")

run

Execute the given Python code

run_with_callbacks

Run silently with all STDOUT and STDERR handled by the given callback functions

virtual_env

Returns a path to the virtual env for the current (application) directory. The caller is responsible for setting the current directory before calling this.