From: Fahlgren, E. <eri...@sm...> - 2015-10-06 15:06:27
|
David, In my 2.7.10 builds using py2exe 0.6.9 on Win 7, I see those plus more being collected into the build directory, but then my next step in packaging deletes them. They are Windows version-specific files that you can and should leave out of your product packaging. (Now all you need to do is figure out how to suppress any messages about them.) For completeness, I've included the list of files I drop from our installer. HTH, Eric List of files we are deleting ----------------------------------------------- Matching dll files: API-MS-Win-Core-Debug-L1-1-0.dll Windows/api-ms-win-core-debug-l1-1-0.dll API-MS-Win-Core-DelayLoad-L1-1-0.dll Windows/api-ms-win-core-delayload-l1-1-0.dll API-MS-Win-Core-ErrorHandling-L1-1-0.dll Windows/api-ms-win-core-errorhandling-l1-1-0.dll API-MS-Win-Core-File-L1-1-0.dll Windows/api-ms-win-core-file-l1-1-0.dll API-MS-Win-Core-Handle-L1-1-0.dll Windows/api-ms-win-core-handle-l1-1-0.dll API-MS-Win-Core-Heap-L1-1-0.dll Windows/api-ms-win-core-heap-l1-1-0.dll API-MS-Win-Core-IO-L1-1-0.dll Windows/api-ms-win-core-io-l1-1-0.dll API-MS-Win-Core-LibraryLoader-L1-1-0.dll Windows/api-ms-win-core-libraryloader-l1-1-0.dll API-MS-Win-Core-LocalRegistry-L1-1-0.dll Windows/api-ms-win-core-localregistry-l1-1-0.dll API-MS-Win-Core-Localization-L1-1-0.dll Windows/api-ms-win-core-localization-l1-1-0.dll API-MS-Win-Core-Memory-L1-1-0.dll Windows/api-ms-win-core-memory-l1-1-0.dll API-MS-Win-Core-Misc-L1-1-0.dll Windows/api-ms-win-core-misc-l1-1-0.dll API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll Windows/api-ms-win-core-processenvironment-l1-1-0.dll API-MS-Win-Core-ProcessThreads-L1-1-0.dll Windows/api-ms-win-core-processthreads-l1-1-0.dll API-MS-Win-Core-Profile-L1-1-0.dll Windows/api-ms-win-core-profile-l1-1-0.dll API-MS-Win-Core-String-L1-1-0.dll Windows/api-ms-win-core-string-l1-1-0.dll API-MS-Win-Core-Synch-L1-1-0.dll Windows/api-ms-win-core-synch-l1-1-0.dll API-MS-Win-Core-SysInfo-L1-1-0.dll Windows/api-ms-win-core-sysinfo-l1-1-0.dll API-MS-Win-Core-ThreadPool-L1-1-0.dll Windows/api-ms-win-core-threadpool-l1-1-0.dll API-MS-Win-Security-Base-L1-1-0.dll Windows/api-ms-win-security-base-l1-1-0.dll API-MS-Win-Security-SDDL-L1-1-0.dll Windows/api-ms-win-security-sddl-l1-1-0.dll AVICAP32.dll Windows/avicap32.dll AVIFIL32.dll Windows/avifil32.dll CRYPT32.dll Windows/crypt32.dll IPHLPAPI.DLL Windows/IPHLPAPI.DLL KERNELBASE.dll Windows/KernelBase.dll MPR.dll Windows/mpr.dll MSACM32.dll Windows/msacm32.dll MSASN1.dll Windows/msasn1.dll MSVFW32.dll Windows/msvfw32.dll MSWSOCK.dll Windows/mswsock.dll NSI.dll Windows/nsi.dll PSAPI.DLL Windows/dhcpsapi.dll UxTheme.dll Windows/uxtheme.dll WINNSI.DLL Windows/winnsi.dll d3d8thk.dll Windows/d3d8thk.dll d3d9.dll Windows/d3d9.dll dwmapi.dll Windows/dwmapi.dll > -----Original Message----- > From: David Hughes [mailto:df...@fo...] > Sent: Tuesday, October 06, 2015 02:49 > To: py2...@li... > Subject: [Py2exe-users] Building a .exe under Windows 10 > > I have a Python 2.7.6 application that built successfully under 64 bit Windows 8.1 > and I notice that it contains 8 dlls that came from > Windows\System32 : > > 22/08/2013 05:17 2,560 api-ms-win-core-delayload-l1-1-1.dll > 22/08/2013 05:17 3,072 api-ms-win-core-errorhandling-l1-1-1.dll > 22/08/2013 05:17 3,584 api-ms-win-core-heap-obsolete-l1-1-0.dll > 22/08/2013 05:17 3,584 api-ms-win-core-libraryloader-l1-2-0.dll > 22/08/2013 05:17 4,608 > api-ms-win-core-processthreads-l1-1-2.dll > 22/08/2013 05:17 3,072 > api-ms-win-core-string-obsolete-l1-1-0.dll > 22/08/2013 05:17 3,584 api-ms-win-core-sysinfo-l1-2-1.dll > 22/08/2013 05:14 3,584 > api-ms-win-security-activedirectoryclient-l1-1-0.dll > > I upgraded to 64 bit Windows 10 and, without reinstalling anything in Python, > these are now reported missing during the build process > > I discovered some of them are now in System32\downlevel and, by adding that > location to the system path and putting some print and try/except lines in > py2exe\build_exe.py I get > > api-ms-win-core-delayload-l1-1-1.dll was not found > C:\WINDOWS\System32\downlevel\api-ms-win-core-errorhandling-l1-1-1.dll > api-ms-win-core-heap-l2-1-0.dll was not found api-ms-win-core-libraryloader- > l1-2-0.dll was not found C:\WINDOWS\System32\downlevel\api-ms-win-core- > processthreads-l1-1-2.dll > C:\WINDOWS\System32\downlevel\api-ms-win-core-string-obsolete-l1-1-0.dll > C:\WINDOWS\System32\downlevel\api-ms-win-core-sysinfo-l1-2-1.dll > api-ms-win-security-activedirectoryclient-l1-1-0.dll was not found > > Testing the built application - not very extensively - has not revealed any > problems but I'm a bit out of my depth here. Does anyone have any advice? > > -- > Regards > > David Hughes > Forestfield Software > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users |