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

Function CheckPythonPackageInstalled

src/pythonhandler.cpp:194–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194bool CheckPythonPackageInstalled(const std::string& package, const PythonConfig& config){
195 auto it = std::find(config.packages.begin(), config.packages.end(), package);
196 return (it != config.packages.end());
197}
198
199#ifdef __WXMSW__
200int InstallFromPipWindows(const std::string& pip_exec, const PythonPackageConfig& package){

Callers 2

CheckPythonPackageMethod · 0.85
InstallPythonPackageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected