Lines 241-251
void BPY_python_start(int argc, const ch
Link Here
|
241 |
* blender is utf-8 too - campbell */ |
241 |
* blender is utf-8 too - campbell */ |
242 |
BLI_setenv("PYTHONIOENCODING", "utf-8:surrogateescape"); |
242 |
BLI_setenv("PYTHONIOENCODING", "utf-8:surrogateescape"); |
243 |
|
243 |
|
244 |
/* Python 3.2 now looks for '2.xx/python/include/python3.2d/pyconfig.h' to |
|
|
245 |
* parse from the 'sysconfig' module which is used by 'site', |
246 |
* so for now disable site. alternatively we could copy the file. */ |
247 |
Py_NoSiteFlag = 1; |
248 |
|
249 |
Py_Initialize(); |
244 |
Py_Initialize(); |
250 |
|
245 |
|
251 |
// PySys_SetArgv(argc, argv); // broken in py3, not a huge deal |
246 |
// PySys_SetArgv(argc, argv); // broken in py3, not a huge deal |