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
path: root/tools
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2009-07-28 02:15:17 +0400
committerMatt Ebb <matt@mke3.net>2009-07-28 02:15:17 +0400
commitcc3c21f27cd0cf80d00d35f77a0ede8d942a5cce (patch)
tree1bb5c3fbae968ff8a1fe392d6f8265f89dc61a2f /tools
parent71e0e22ae02a0d2f2174f4080397c9bd9b0c4b88 (diff)
* scons changes for mac osx intel / precompiled python 3.1
Feedback (especially on < 10.5) would be most appreciated!
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 749fa55a833..73ee6bb813d 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -323,6 +323,7 @@ def AppIt(target=None, source=None, env=None):
a = '%s' % (target[0])
builddir, b = os.path.split(a)
+ libdir = env['LCGDIR'][1:]
bldroot = env.Dir('.').abspath
binary = env['BINARYKIND']
@@ -355,6 +356,10 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'cp %s/bin/.blender/.Blanguages %s/%s.app/Contents/Resources/'%(bldroot,builddir,binary)
commands.getoutput(cmd)
+ cmd = 'mkdir %s/%s.app/Contents/MacOS/.blender/python/'%(builddir,binary)
+ commands.getoutput(cmd)
+ cmd = 'unzip -q %s/release/python.zip -d %s/%s.app/Contents/MacOS/.blender/python/'%(libdir,builddir,binary)
+ commands.getoutput(cmd)
cmd = 'cp -R %s/release/scripts %s/%s.app/Contents/MacOS/.blender/'%(bldroot,builddir,binary)
commands.getoutput(cmd)
cmd = 'cp -R %s/release/ui %s/%s.app/Contents/MacOS/.blender/'%(bldroot,builddir,binary)