OSX/scons: according to last commit, , use the version variable
authorJens Verwiebe <info@jensverwiebe.de>
Tue, 4 Mar 2014 20:08:23 +0000 (21:08 +0100)
committerJens Verwiebe <info@jensverwiebe.de>
Tue, 4 Mar 2014 20:08:49 +0000 (21:08 +0100)
build_files/scons/tools/Blender.py

index d2220891843e2ac6a674f43778b693e564ed4092..fc4121a5934c408cac7f5e4090d2a9a82363192f 100644 (file)
@@ -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)