[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54006] trunk/blender/build_files/scons/ config/Modules/FindPython.py: make sure config directory is initialized or python complains

Antony Riakiotakis kalast at gmail.com
Tue Jan 22 19:13:23 CET 2013


Revision: 54006
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54006
Author:   psy-fi
Date:     2013-01-22 18:13:22 +0000 (Tue, 22 Jan 2013)
Log Message:
-----------
make sure config directory is initialized or python complains

Modified Paths:
--------------
    trunk/blender/build_files/scons/config/Modules/FindPython.py

Modified: trunk/blender/build_files/scons/config/Modules/FindPython.py
===================================================================
--- trunk/blender/build_files/scons/config/Modules/FindPython.py	2013-01-22 18:07:17 UTC (rev 54005)
+++ trunk/blender/build_files/scons/config/Modules/FindPython.py	2013-01-22 18:13:22 UTC (rev 54006)
@@ -19,6 +19,8 @@
     incconf64 = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags, "pyconfig.h")
     if os.path.exists(incconf64):
         incconf = os.path.join(include, "x86_64-linux-gnu", "python" + version + cur_flags)
+    else:
+        incconf = ''
 
     # Determine whether python is in /usr/lib or /usr/lib64
     lib32 = os.path.join(python, "lib", "python" + version, "sysconfig.py")




More information about the Bf-blender-cvs mailing list