/* * Python Manager stubs for KiCad WASM build * Python scripting is not available in WASM */ #include // Implementation PYTHON_MANAGER::PYTHON_MANAGER( const wxString& aInterpreterPath ) : m_interpreterPath( aInterpreterPath ) { } long PYTHON_MANAGER::Execute( const std::vector& aArgs, const std::function& aCallback, const wxExecuteEnv* aEnv, bool aSaveOutput ) { (void)aArgs; (void)aCallback; (void)aEnv; (void)aSaveOutput; // Return 0: no process created (Python not available in WASM) return 0; } wxString PYTHON_MANAGER::FindPythonInterpreter() { return wxEmptyString; } std::optional PYTHON_MANAGER::GetPythonEnvironment( const wxString& aNamespace ) { (void)aNamespace; return std::nullopt; } std::optional PYTHON_MANAGER::GetVirtualPython( const wxString& aNamespace ) { (void)aNamespace; return std::nullopt; }