Use Python to test for modules (not CPython)

CPython call requires Python 3.8+, so we work around to keep the 3.6
users happy

Fixes https://gitlab.com/kicad/code/kicad/issues/8554
This commit is contained in:
Seth Hillbrand
2021-06-07 13:56:31 -07:00
parent d4edc70f65
commit 891e200fc8
3 changed files with 22 additions and 9 deletions
+2
View File
@@ -57,6 +57,8 @@ public:
static bool IsWxAvailable();
static bool IsModuleLoaded( std::string& aModule );
static wxString PyScriptingPath( bool aUserPath = false );
static wxString PyPluginsPath( bool aUserPath = false );