From: Thomas H. <th...@us...> - 2005-09-07 06:19:25
|
Update of /cvsroot/py2exe/py2exe/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17451 Modified Files: build_exe.py Log Message: Fix an information message. Use w9xpopen_d.exe in a debug build. Handle the release and the debug version of MSVCR71 in the same way. Index: build_exe.py =================================================================== RCS file: /cvsroot/py2exe/py2exe/py2exe/build_exe.py,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** build_exe.py 6 Sep 2005 19:29:10 -0000 1.59 --- build_exe.py 7 Sep 2005 06:19:17 -0000 1.60 *************** *** 562,566 **** if self.compressed: # prepend zlib.pyd also ! print "Adding zlib.pyd to %s" % (arcname,) arcfile.write("<zlib.pyd>") zlib_file = imp.find_module("zlib")[0] --- 562,566 ---- if self.compressed: # prepend zlib.pyd also ! print "Adding zlib%s.pyd to %s" % (is_debug_build and "_d" or "", arcname) arcfile.write("<zlib.pyd>") zlib_file = imp.find_module("zlib")[0] *************** *** 1026,1030 **** # Using popen requires (on Win9X) the w9xpopen.exe helper executable. if "os" in modules.keys() or "popen2" in modules.keys(): ! dlls.add(os.path.join(os.path.dirname(sys.executable), "w9xpopen.exe")) def create_loader(self, item): --- 1026,1033 ---- # Using popen requires (on Win9X) the w9xpopen.exe helper executable. if "os" in modules.keys() or "popen2" in modules.keys(): ! if is_debug_build: ! dlls.add(os.path.join(os.path.dirname(sys.executable), "w9xpopen_d.exe")) ! else: ! dlls.add(os.path.join(os.path.dirname(sys.executable), "w9xpopen.exe")) def create_loader(self, item): *************** *** 1302,1305 **** --- 1305,1309 ---- "netapi32.dll", "msvcr71.dll" + "msvcr71d.dll" ) |