[Bf-blender-cvs] [4acff9d] master: OSX/scons: according to last commit, , use the version variable
Jens Verwiebe
noreply at git.blender.org
Tue Mar 4 21:08:57 CET 2014
Commit: 4acff9d6f199fedf397852978da2bf79e220656c
Author: Jens Verwiebe
Date: Tue Mar 4 21:08:23 2014 +0100
https://developer.blender.org/rB4acff9d6f199fedf397852978da2bf79e220656c
OSX/scons: according to last commit, , use the version variable
===================================================================
M build_files/scons/tools/Blender.py
===================================================================
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index d222089..fc4121a 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -751,7 +751,7 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'unzip -q %s/release/%s -d %s/%s.app/Contents/MacOS/%s/python/'%(libdir,python_zip,installdir,binary,VERSION)
commands.getoutput(cmd)
- cmd = 'cp -R %s/release/site-packages/ %s/%s.app/Contents/MacOS/%s/python/lib/python3.3/site-packages/'%(libdir,installdir,binary,VERSION)
+ cmd = 'cp -R %s/release/site-packages/ %s/%s.app/Contents/MacOS/%s/python/lib/python%s/site-packages/'%(libdir,installdir,binary,VERSION,env['BF_PYTHON_VERSION'])
commands.getoutput(cmd)
cmd = 'chmod +x %s/%s.app/Contents/MacOS/%s'%(installdir,binary, binary)
More information about the Bf-blender-cvs
mailing list