From cc3c21f27cd0cf80d00d35f77a0ede8d942a5cce Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Mon, 27 Jul 2009 22:15:17 +0000 Subject: * scons changes for mac osx intel / precompiled python 3.1 Feedback (especially on < 10.5) would be most appreciated! --- tools/Blender.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/Blender.py') 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) -- cgit v1.2.3