From: <th...@us...> - 2013-06-22 14:43:36
|
Revision: 729 http://sourceforge.net/p/py2exe/svn/729 Author: theller Date: 2013-06-22 14:43:32 +0000 (Sat, 22 Jun 2013) Log Message: ----------- Use "*" for processorarchitecture in the manifest. Add some dll_excludes. Modified Paths: -------------- trunk/py2exe/py2exe/samples/advanced/setup.py trunk/py2exe/py2exe/samples/singlefile/gui/setup.py Modified: trunk/py2exe/py2exe/samples/advanced/setup.py =================================================================== --- trunk/py2exe/py2exe/samples/advanced/setup.py 2013-06-22 14:42:30 UTC (rev 728) +++ trunk/py2exe/py2exe/samples/advanced/setup.py 2013-06-22 14:43:32 UTC (rev 729) @@ -43,7 +43,7 @@ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="5.0.0.0" - processorArchitecture="x86" + processorArchitecture="*" name="%(prog)s" type="win32" /> @@ -54,7 +54,7 @@ type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" - processorArchitecture="X86" + processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> @@ -122,6 +122,8 @@ excludes = ["pywin", "pywin.debugger", "pywin.debugger.dbgcon", "pywin.dialogs", "pywin.dialogs.list"] +dll_excludes = "MSVCP90.dll mswsock.dll powrprof.dll".split() + setup( options = {"py2exe": {"typelibs": # typelib for WMI @@ -129,6 +131,7 @@ # create a compressed zip archive "compressed": 1, "optimize": 2, + "dll_excludes": dll_excludes, "excludes": excludes}}, # The lib directory contains everything except the executables and the python dll. # Can include a subdirectory name. Modified: trunk/py2exe/py2exe/samples/singlefile/gui/setup.py =================================================================== --- trunk/py2exe/py2exe/samples/singlefile/gui/setup.py 2013-06-22 14:42:30 UTC (rev 728) +++ trunk/py2exe/py2exe/samples/singlefile/gui/setup.py 2013-06-22 14:43:32 UTC (rev 729) @@ -35,7 +35,7 @@ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="5.0.0.0" - processorArchitecture="x86" + processorArchitecture="*" name="%(prog)s" type="win32" /> @@ -46,7 +46,7 @@ type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" - processorArchitecture="X86" + processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> @@ -73,7 +73,10 @@ options = {"py2exe": {"compressed": 1, "optimize": 2, "ascii": 1, - "bundle_files": 1}}, + "bundle_files": 1, + "dll_excludes": "MSVCP90.dll mswsock.dll powrprof.dll".split(), + }, + }, zipfile = None, windows = [test_wx], ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |