MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / LoadPythonConfig

Method LoadPythonConfig

src/main.cpp:2722–2729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2720}
2721
2722void SamApp::LoadPythonConfig(){
2723 pythonConfig = ReadPythonConfig(GetPythonConfigPath() + "/python_config.json");
2724 if (CheckPythonInstalled(pythonConfig)){
2725 std::string python_path = GetPythonConfigPath();
2726 set_python_path(python_path.c_str());
2727 return;
2728 }
2729}
2730
2731bool SamApp::CheckPythonPackage(const std::string& pip_name){
2732 if (CheckPythonInstalled(pythonConfig)){

Callers

nothing calls this directly

Calls 2

ReadPythonConfigFunction · 0.85
CheckPythonInstalledFunction · 0.85

Tested by

no test coverage detected