Make sure correct python31 zip is unpacked when BF_DEBUG=True

This commit is contained in:
Nathan Letwory 2010-08-27 21:42:33 +00:00
parent 44cbc14771
commit cc70bffb62
1 changed files with 4 additions and 1 deletions

View File

@ -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]=='#':