23 using callback_finalize = std::function< void() >;
31 void setPythonHomePath(
const QString& path);
33 void initializePythonInterpreter();
35 void registerFinalizeCallback(callback_finalize fp);
38 void ensureShutdown();
40 static QString getAppPythonConfigFile();
42 static QString getPythonInterpreterPath();
44 static QList< QFileInfo > wherePython();
46 static QList< QFileInfo > wherePythonFromConfig();
50 void finalizePythonInterpreter();
53 std::vector< callback_finalize > mFinalizeCallbacks;