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