mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
490 B
17 lines
490 B
#include "plugins.h" |
|
#include "python_module.h" |
|
|
|
Plugins::Plugins(Config &config) : jucipp_module("Jucipp", Module::init_jucipp_module) { |
|
#ifdef PYTHON_HOME_DIR |
|
#ifdef _WIN32 |
|
const std::wstring python_home(PYTHON_HOME_DIR); |
|
const std::wstring python_path(python_home + L";" + python_home + L"\\lib-dynload;" + python_home + L"\\site-packages"); |
|
Py_SetPythonHome(python_home.c_str()); |
|
Py_SetPath(python_path.c_str()); |
|
#endif |
|
#endif |
|
} |
|
|
|
void Plugins::load() {} |
|
|
|
Plugins::~Plugins() {}
|
|
|