|
| static AZ::IO::FixedMaxPath | GetPythonHomePath (AZ::IO::PathView engineRoot, const char *overridePythonBaseVenvPath=nullptr) |
| |
|
static void | ReadPythonEggLinkPaths (AZ::IO::PathView engineRoot, EggLinkPathVisitor eggLinkPathVisitor, const char *overridePythonBaseVenvPath=nullptr) |
| |
| static AZ::IO::FixedMaxPath | GetPythonVenvPath (AZ::IO::PathView engineRoot, const char *overridePythonBaseVenvPath=nullptr) |
| |
| static AZ::IO::FixedMaxPath | GetPythonExecutablePath (AZ::IO::PathView engineRoot, const char *overridePythonBaseVenvPath=nullptr) |
| |
◆ EggLinkPathVisitor
Collect the paths from all the egg-link files found in the python home paths used by the engine
- Parameters
-
| engineRoot | The path to the engine root to locate the python home |
| eggLinkPathVisitor | The callback visitor function to receive the egg-link paths that are discovered |
| overridePythonBaseVenvPath | If set, the path override the base python venv folder |
◆ GetPythonExecutablePath()
| static AZ::IO::FixedMaxPath AzToolsFramework::EmbeddedPython::PythonLoader::GetPythonExecutablePath |
( |
AZ::IO::PathView |
engineRoot, |
|
|
const char * |
overridePythonBaseVenvPath = nullptr |
|
) |
| |
|
static |
Calculate the path to the where the python executable resides in. Note that this is not always the same path as the python home path
- Parameters
-
| engineRoot | The path to the engine root to |
| overridePythonBaseVenvPath | If set, the path override the base python venv folder locate the python executable path |
- Returns
- The path of the python venv path
◆ GetPythonHomePath()
| static AZ::IO::FixedMaxPath AzToolsFramework::EmbeddedPython::PythonLoader::GetPythonHomePath |
( |
AZ::IO::PathView |
engineRoot, |
|
|
const char * |
overridePythonBaseVenvPath = nullptr |
|
) |
| |
|
static |
Calculate the python home (PYTHONHOME) based on the engine root
- Parameters
-
| engineRoot | The path to the engine root to locate the python home |
| overridePythonBaseVenvPath | If set, the path override the base python venv folder |
- Returns
- The path of the python home path
◆ GetPythonVenvPath()
| static AZ::IO::FixedMaxPath AzToolsFramework::EmbeddedPython::PythonLoader::GetPythonVenvPath |
( |
AZ::IO::PathView |
engineRoot, |
|
|
const char * |
overridePythonBaseVenvPath = nullptr |
|
) |
| |
|
static |
Calculate the path to the engine's python virtual environment used for python home (PYTHONHOME) based on the engine root
- Parameters
-
| engineRoot | The path to the engine root to locate the python venv path |
| overridePythonBaseVenvPath | If set, the path override the base python venv folder |
- Returns
- The path of the python venv path
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/API/PythonLoader.h