2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-15 10:54:18 +00:00

Add Py_NoSiteFlag to plPythonPack

This commit is contained in:
Branan Purvine-Riley
2011-05-05 21:22:42 -07:00
parent aeff8224b2
commit dcfc93acbc

View File

@ -41,6 +41,8 @@ void PythonInterface::initPython(std::string rootDir)
// initialize the Python stuff
// let Python do some intialization...
Py_SetProgramName("plasma");
Py_NoSiteFlag = 1;
Py_IgnoreEnvironmentFlag = 1;
Py_Initialize();
// intialize any of our special plasma python modules