summaryrefslogtreecommitdiff
blob: 2d6ca00c19cdb1daec0b76db549f4c4ebee3b2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -Npur blender-2.63.orig/source/blender/python/intern/bpy_interface.c blender-2.63/source/blender/python/intern/bpy_interface.c
--- blender-2.63.orig/source/blender/python/intern/bpy_interface.c	2012-05-08 00:14:54.141488111 +0200
+++ blender-2.63/source/blender/python/intern/bpy_interface.c	2012-05-08 00:15:14.861487739 +0200
@@ -241,11 +241,6 @@ void BPY_python_start(int argc, const ch
 	 * blender is utf-8 too - campbell */
 	BLI_setenv("PYTHONIOENCODING", "utf-8:surrogateescape");
 
-	/* Python 3.2 now looks for '2.xx/python/include/python3.2d/pyconfig.h' to
-	 * parse from the 'sysconfig' module which is used by 'site',
-	 * so for now disable site. alternatively we could copy the file. */
-	Py_NoSiteFlag = 1;
-
 	Py_Initialize();
 
 	// PySys_SetArgv(argc, argv); // broken in py3, not a huge deal
diff -Npur blender-2.63.orig/source/gameengine/Ketsji/KX_PythonInit.cpp blender-2.63/source/gameengine/Ketsji/KX_PythonInit.cpp
--- blender-2.63.orig/source/gameengine/Ketsji/KX_PythonInit.cpp	2012-05-08 00:14:54.118488110 +0200
+++ blender-2.63/source/gameengine/Ketsji/KX_PythonInit.cpp	2012-05-08 00:15:23.305487596 +0200
@@ -1848,7 +1848,6 @@ PyObject* initGamePlayerPythonScripting(
 	STR_String pname = progname;
 	Py_SetProgramName(pname.Ptr());
 #endif
-	Py_NoSiteFlag=1;
 	Py_FrozenFlag=1;
 
 	/* must run before python initializes */
@@ -1929,7 +1928,6 @@ PyObject* initGamePythonScripting(const
 	STR_String pname = progname;
 	Py_SetProgramName(pname.Ptr());
 #endif
-	Py_NoSiteFlag=1;
 	Py_FrozenFlag=1;
 
 #ifdef WITH_AUDASPACE