mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
modernize python initialization
This commit is contained in:
@ -838,6 +838,8 @@ void PythonInterface::initPython()
|
||||
// initialize the Python stuff
|
||||
// let Python do some initialization...
|
||||
Py_SetProgramName("plasma");
|
||||
Py_NoSiteFlag = 1;
|
||||
Py_IgnoreEnvironmentFlag = 1;
|
||||
Py_Initialize();
|
||||
|
||||
#if defined(HAVE_CYPYTHONIDE) && !defined(PLASMA_EXTERNAL_RELEASE)
|
||||
|
Reference in New Issue
Block a user