To define a variable, define it as you would if you were declaring a define in
a GCC/Clang invocation (i.e.-D${NAME}=${VALUE}
).
Name | Description |
---|---|
ipsd_port |
The port to host the REST server on. |
ipsd_enable_python |
Enable Python language support. Requires libPython . |
Name | Description |
---|---|
ipsd_py_venv |
PYTHONHOME is set to this in the runner process, if isolated. |
ipsd_py_venv_isolated |
If the Python virtual environment is completely isolated. |
ipsd_py_venv_site |
PYTHONPATH is set to this in the runner process. |
-
If the value is non-empty, the script execution environment will use the specified virtual environment.
-
The
PYTHONHOME
environment variable is set to the path of the virtual environment ifIPSD_PY_VENV_ISOLATED
is true.
-
When set to a non-zero value, the
PYTHONHOME
environment variable is set toIPSD_PY_VENV
. This effectively isolates the virtual environment from the system Python installation. -
Isolated mode ensures the script runs strictly within the virtual environment without referencing the global Python setup.
-
This path is set as the
PYTHONPATH
environment variable to ensure the Python interpreter can locate the installed packages in the virtual environment. -
If
IPSD_PY_VENV
is empty (no virtual environment is configured), the directory is manually added to the Pythonsys.path
at runtime using thesys.path.insert
method.