[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17276] trunk/blender/source/gameengine/ VideoTexture/SConscript: Adding include path for numpy to sconscript.

Alphonso Bedoya alphonso.bedoya at gmail.com
Sat Nov 1 19:53:43 CET 2008


This doesn't work for OS X, either.

On OS X BF_PYTHON gets BF_PYTHON_VERSION added to it to construct the
base directory for python.

incs += ' ' + env['BF_PYTHON'] + '/lib/python' +
env['BF_PYTHON_VERSION'] + "/site-packages/numpy/core/include"

produces:

/Library/Frameworks/Python.framework/Versions/lib/python2.5/site-packages/numpy/core/include

when it should be:

/Library/Frameworks/Python.framework/2.5/Versions/lib/python2.5/site-packages/numpy/core/include

On Sat, Nov 1, 2008 at 10:44 AM, Martin Poirier <theeth at yahoo.com> wrote:
> Revision: 17276
>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17276
> Author:   theeth
> Date:     2008-11-01 18:44:12 +0100 (Sat, 01 Nov 2008)
>
> Log Message:
> -----------
> Adding include path for numpy to sconscript. There must be a better way to do this.
>
> Modified Paths:
> --------------
>    trunk/blender/source/gameengine/VideoTexture/SConscript
>
> Modified: trunk/blender/source/gameengine/VideoTexture/SConscript
> ===================================================================
> --- trunk/blender/source/gameengine/VideoTexture/SConscript     2008-11-01 17:26:34 UTC (rev 17275)
> +++ trunk/blender/source/gameengine/VideoTexture/SConscript     2008-11-01 17:44:12 UTC (rev 17276)
> @@ -21,6 +21,7 @@
>        cflags.append('/GR')
>        cflags.append('/Ox')
>
> +incs += ' ' + env['BF_PYTHON'] + '/lib/python' + env['BF_PYTHON_VERSION'] + "/site-packages/numpy/core/include"
>  incs += ' ' + env['BF_PYTHON_INC']
>  #incs += ' ' + env['BF_OPENGL_INC']
>
>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>


More information about the Bf-committers mailing list