added a python26.zip file, and also made scons pick which zip to use based on the...
authorJoseph Eagar <joeedh@gmail.com>
Sun, 19 Apr 2009 19:36:04 +0000 (19:36 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Sun, 19 Apr 2009 19:36:04 +0000 (19:36 +0000)
SConstruct

index 28e5001b12f41b00f3b030496226d8ef28273944..6cc3fcb811dbbf969b8c1df077e59fca355e6715 100644 (file)
@@ -554,7 +554,9 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
        if env['WITH_BF_SDL']:
                dllsources.append('${BF_SDL_LIBPATH}/SDL.dll')
        if env['WITH_BF_PYTHON']:
-               dllsources.append('#release/windows/extra/python25.zip')
+               ver = env["BF_PYTHON_VERSION"].replace(".", "")
+               
+               dllsources.append('#release/windows/extra/python' + ver + '.zip')
                dllsources.append('#release/windows/extra/zlib.pyd')
                if env['BF_DEBUG']:
                        dllsources.append('${BF_PYTHON_LIBPATH}/${BF_PYTHON_LIB}_d.dll')