Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-03-04 21:41:19 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-03-04 21:41:19 +0400
commit976fd68082cf399a5e694c9604add20b85294c9b (patch)
treeae9c91425b559dc8ab9a7b16b301c6077901e30c
parentadd6384213f56bbf09a8a6831408f5e29c03b2f6 (diff)
OSX/scons: copy release/site-packages for OSX ( static py for now )
-rw-r--r--build_files/scons/tools/Blender.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index b8b9961b09a..d5f9446e86a 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -751,6 +751,8 @@ 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)
+ commands.getoutput(cmd)
cmd = 'chmod +x %s/%s.app/Contents/MacOS/%s'%(installdir,binary, binary)
commands.getoutput(cmd)