diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-28 01:42:33 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-28 01:42:33 +0400 |
commit | cc70bffb62d8b7c1dcfc0c389b8fcd43699680b0 (patch) | |
tree | d4812adef5fb93c090fa6bc1a128162bc912fed9 /build_files | |
parent | 44cbc14771f2117537e2624675a00d583a4a4ec5 (diff) |
Make sure correct python31 zip is unpacked when BF_DEBUG=True
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/scons/tools/Blender.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index c2ccfcc8689..acee9522003 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -470,7 +470,10 @@ def WinPyBundle(target=None, source=None, env=None): py_zip= env.subst( env['LCGDIR'] ) if py_zip[0]=='#': py_zip= py_zip[1:] - py_zip+= '/release/python' + env['BF_PYTHON_VERSION'].replace('.','') + '.zip' + if env['BF_DEBUG']: + py_zip+= '/release/python' + env['BF_PYTHON_VERSION'].replace('.','') + '_d.zip' + else: + py_zip+= '/release/python' + env['BF_PYTHON_VERSION'].replace('.','') + '.zip' py_target = env.subst( env['BF_INSTALLDIR'] ) if py_target[0]=='#': |