[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53366] trunk/blender/SConstruct: patch [ #33669] SConstruct: Tell how to pass BF_PYTHON_INC to SCons is it is not found

Campbell Barton ideasman42 at gmail.com
Fri Dec 28 13:12:12 CET 2012


Revision: 53366
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53366
Author:   campbellbarton
Date:     2012-12-28 12:12:04 +0000 (Fri, 28 Dec 2012)
Log Message:
-----------
patch [#33669] SConstruct: Tell how to pass BF_PYTHON_INC to SCons is it is not found
from anatoly techtonik (techtonik)

Modified Paths:
--------------
    trunk/blender/SConstruct

Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct	2012-12-28 11:24:07 UTC (rev 53365)
+++ trunk/blender/SConstruct	2012-12-28 12:12:04 UTC (rev 53366)
@@ -442,11 +442,12 @@
             found_pyconfig_h = True
 
     if not (found_python_h and found_pyconfig_h):
-        print("\nMissing: Python.h and/or pyconfig.h in\"" + env.subst('${BF_PYTHON_INC}') + "\",\n"
-              "  Set 'BF_PYTHON_INC' to point "
-              "to valid python include path(s).\n Containing "
-              "Python.h and pyconfig.h for python version \"" + env.subst('${BF_PYTHON_VERSION}') + "\"")
+        print("""\nMissing: Python.h and/or pyconfig.h in "%s"
+         Set 'BF_PYTHON_INC' to point to valid include path(s),
+         containing Python.h and pyconfig.h for Python version "%s".
 
+         Example: python scons/scons.py BF_PYTHON_INC=../Python/include
+              """ % (env.subst('${BF_PYTHON_INC}'), env.subst('${BF_PYTHON_VERSION}')))
         Exit()
 
 




More information about the Bf-blender-cvs mailing list