| 148 | } |
| 149 | |
| 150 | bool CheckPythonInstalled(const PythonConfig& config){ |
| 151 | return !config.execPath.empty() && !config.pipPath.empty(); |
| 152 | } |
| 153 | |
| 154 | bool InstallPythonWindows(const std::string& path, const PythonConfig& config){ |
| 155 | // std::string cmd = "powershell.exe -windowstyle hidden -ExecutionPolicy Bypass -File " + path + "/install_python.ps1 -version " + config.pythonVersion + " -config " + path; |
no outgoing calls
no test coverage detected