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

Function InstallPythonUnix

src/pythonhandler.cpp:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool InstallPythonUnix(const std::string& path, const PythonConfig& config){
162 std::string cmd = path + "/install_python.sh " + config.minicondaVersion + " " + config.pythonVersion + " " + path;
163 int rvalue = system(cmd.c_str());
164 return (bool)rvalue;
165}
166
167PythonPackageConfig ReadPythonPackageConfig(const std::string& name, const std::string& configFile){
168 // load python configuration

Callers 1

InstallPythonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected