You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(31) |
Jul
(50) |
Aug
(79) |
Sep
(45) |
Oct
(41) |
Nov
(56) |
Dec
(103) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(75) |
Feb
(37) |
Mar
(40) |
Apr
(41) |
May
(91) |
Jun
(41) |
Jul
(38) |
Aug
(48) |
Sep
(146) |
Oct
(98) |
Nov
(65) |
Dec
(64) |
2006 |
Jan
(40) |
Feb
(123) |
Mar
(57) |
Apr
(69) |
May
(49) |
Jun
(51) |
Jul
(50) |
Aug
(103) |
Sep
(89) |
Oct
(23) |
Nov
(73) |
Dec
(63) |
2007 |
Jan
(74) |
Feb
(76) |
Mar
(40) |
Apr
(46) |
May
(97) |
Jun
(45) |
Jul
(57) |
Aug
(74) |
Sep
(42) |
Oct
(15) |
Nov
(63) |
Dec
(10) |
2008 |
Jan
(40) |
Feb
(40) |
Mar
(25) |
Apr
(51) |
May
(34) |
Jun
(70) |
Jul
(52) |
Aug
(55) |
Sep
(44) |
Oct
(66) |
Nov
(44) |
Dec
(42) |
2009 |
Jan
(26) |
Feb
(32) |
Mar
(40) |
Apr
(81) |
May
(44) |
Jun
(49) |
Jul
(45) |
Aug
(58) |
Sep
(23) |
Oct
(62) |
Nov
(40) |
Dec
(48) |
2010 |
Jan
(24) |
Feb
(74) |
Mar
(62) |
Apr
(31) |
May
(42) |
Jun
(24) |
Jul
(39) |
Aug
(61) |
Sep
(21) |
Oct
(24) |
Nov
(26) |
Dec
(41) |
2011 |
Jan
(27) |
Feb
(27) |
Mar
(45) |
Apr
(15) |
May
(13) |
Jun
(26) |
Jul
(20) |
Aug
(52) |
Sep
(11) |
Oct
(32) |
Nov
(5) |
Dec
(5) |
2012 |
Jan
(7) |
Feb
(21) |
Mar
(2) |
Apr
(5) |
May
(9) |
Jun
|
Jul
(14) |
Aug
(20) |
Sep
(5) |
Oct
(8) |
Nov
(11) |
Dec
(4) |
2013 |
Jan
(7) |
Feb
(9) |
Mar
(8) |
Apr
(7) |
May
(22) |
Jun
(7) |
Jul
(4) |
Aug
(10) |
Sep
(7) |
Oct
(1) |
Nov
(17) |
Dec
(2) |
2014 |
Jan
(4) |
Feb
(2) |
Mar
(6) |
Apr
(6) |
May
(15) |
Jun
|
Jul
(9) |
Aug
(7) |
Sep
(21) |
Oct
(13) |
Nov
|
Dec
(2) |
2015 |
Jan
(5) |
Feb
|
Mar
(11) |
Apr
(3) |
May
(9) |
Jun
(5) |
Jul
(2) |
Aug
(2) |
Sep
(8) |
Oct
(9) |
Nov
(6) |
Dec
(1) |
2016 |
Jan
|
Feb
(5) |
Mar
(32) |
Apr
|
May
|
Jun
(10) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(7) |
Nov
(3) |
Dec
|
2017 |
Jan
(5) |
Feb
|
Mar
(1) |
Apr
(1) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Tim e. <tim...@ho...> - 2015-12-08 08:34:08
|
Hi First of all thanks for the software. Really good stuff. I'm doing some testing and want to install py2exe from pip. There already exists unofficial wheels but i would need to make them available on pypi... There already exists an unofficial wheel on pypi. https://pypi.python.org/pypi/py2exe_py2/0.6.9 However it is only for x86 architecture. If we could get some wheels in the official repo so doing pip install py2exe just works that would be awesome. I can do some leg work as well if required. Kind Regards, Tim p.s http://pythonwheels.com/ |
From: <im...@ne...> - 2015-11-20 13:59:02
|
http://sisasisa.com/uco/ |
From: <im...@ne...> - 2015-11-06 22:38:13
|
http://vbc.vietpath.vn/has/ |
From: <im...@ne...> - 2015-11-02 20:27:39
|
http://rbiservicesllc.com/bfl/ |
From: <Jak...@Ea...> - 2015-10-30 09:41:09
|
Hi, I am using the Database MySQL DB, wx-python with the python version 2.4.4 and using the Py2exe 0.6.9 version for compiling and creating the Executable. There is a file called startup.py in which it imports the pool. But it is showing the error "Attribute error: No Module named pool ". Is there any individual module for pool like import pool without using multiprocessing, thread pool, MySQL pool. Can anyone please provide some info on pool I am getting the error as attached in the above screen shot. It is terminating in few seconds leaving a trace back as shown in the above screenshot. Please suggest me steps to resolve the issue. Thanks, Kiran From: Kiran Kumar, Jakkampudi Sent: Friday, October 30, 2015 2:38 PM To: 'py2...@li...' Subject: Reg-Bug in the Executable Hi, I am using the Database MySQL DB, wx-python with the python version 2.4.4 and using the Py2exe 0.6.9 version for compiling and creating the Executable. There is a file called startup.py in which it imports the pool. But it is showing the error "Attribute error: No Module named pool ". Is there any individual module for pool like import pool without using multiprocessing, thread pool, MySQL pool. Can anyone please provide some info on pool I am getting the error as attached in the above screen shot. It is terminating in few seconds leaving a trace back as shown in the above screenshot. Please suggest me steps to resolve the issue. Thanks, Kiran |
From: Pete <pe...@le...> - 2015-10-09 04:47:29
|
Hi there, Does anyone know if there there any moves afoot to update py2exe to support Python 3.5? Pete |
From: David H. <df...@fo...> - 2015-10-08 13:56:38
|
On 06/10/2015 21:07, Werner wrote: > On 10/6/2015 16:51, Fahlgren, Eric wrote: >> 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.... > I don't get any of these into my build directory, with py2exe 0.6.9 on > Win 8.1 and py 2.7. > > What uses these DLL's? Do you use that in your application? > > IIRC, Windows version specific stuff should not be included, but then > you have to ensure that it the correct versions are on the deployment > maschine. > > To exclude you could use "dll_excludes". > > Werner I checked my dll_excludes and found a whole raft of similar names like api-ms-win*.dll that I must have put there so long ago I'd forgotten about them. Most of the ones I listed in my earlier post were there but with different version numbers in the name. I have edited the list and now none appear in the executable. I must try and find time to track down what uses them. -- Regards David Hughes Forestfield Software |
From: Fahlgren, E. <eri...@sm...> - 2015-10-06 21:40:36
|
Hi Werner, We have all sorts of stuff from Cython, scipy, numpy, wxPython and so on, but the best bet is our home-built VTK which builds with the (Py2.7-incorrect) MSVC 2010 compiler, so I'm guessing that the unsanctioned compiler is linking VTK internals to all those system libs. We make sure to run the vcredist_x64.exe for that compiler during product installation, and that seems to get everything we need. Eric > -----Original Message----- > From: Werner [mailto:wer...@gm...] > Sent: Tuesday, October 06, 2015 13:08 > To: py2...@li... > Subject: Re: [Py2exe-users] Building a .exe under Windows 10 > > On 10/6/2015 16:51, Fahlgren, Eric wrote: > > 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. > I don't get any of these into my build directory, with py2exe 0.6.9 on Win 8.1 > and py 2.7. > > What uses these DLL's? Do you use that in your application? > > IIRC, Windows version specific stuff should not be included, but then you have > to ensure that it the correct versions are on the deployment maschine. > > To exclude you could use "dll_excludes". > > Werner > > > ------------------------------------------------------------------------------ > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Werner <wer...@gm...> - 2015-10-06 20:08:02
|
On 10/6/2015 16:51, Fahlgren, Eric wrote: > 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. I don't get any of these into my build directory, with py2exe 0.6.9 on Win 8.1 and py 2.7. What uses these DLL's? Do you use that in your application? IIRC, Windows version specific stuff should not be included, but then you have to ensure that it the correct versions are on the deployment maschine. To exclude you could use "dll_excludes". Werner |
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 |
From: David H. <df...@fo...> - 2015-10-06 10:15:42
|
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 |
From: <im...@ne...> - 2015-09-24 12:18:01
|
Well, that is just great I have lost 14 POUNDS eating new fantastic fat_burner http://amfcapital.net/jw/ |
From: <im...@ne...> - 2015-09-22 17:41:56
|
Kinda... that is cool! I have lost nineteen pounds with new magnificent f@t burner http://slimcenter.pl/aph/ |
From: <im...@ne...> - 2015-09-22 17:41:30
|
Kinda... that is cool! I have lost nineteen pounds with new magnificent f@t burner http://slimcenter.pl/aph/ |
From: Florian R. <flo...@gm...> - 2015-09-20 16:04:04
|
Hello everyone, few days i'm getting troubles around my Python3 script when trying to build an exe. I can't have french accents displayed, see the example here: import tkinter as tk from tkinter import * root = tk.Tk() li = 'André Patrick Lindsay Helmut Chris Gwen'.split() listb = Listbox(root) for item in li: listb.insert(0,item) listb.pack() root.mainloop() Thanks for your help... |
From: Mark H. <ski...@gm...> - 2015-09-09 02:41:15
|
IIRC, these message resources aren't simple string resources, so I don't think it will be as simple as writing strings. I believe the win32api functions used by resource.py will be capable of writing message resources by putting together binary blobs, but I can't recall any such examples. The message sources can be found in win32service_messages.mc and includes more info than plain strings. It might be possible to have the build process copy the resources from the .pyd into the .exe, but py2exe doesn't do that either. None of the services that I created with py2exe attempted to bundle everything into a single file for this and various other reasons (eg, I often ended up needing to ship other exes along with the service exe) so having the registry point at the .pyd wasn't a problem. So sadly I think you will be largely on-your-own in terms of working out how to get these resources into the generated .exe, and you may even find your best option is to look for some external tool that can patch the generated .exe after py2exe has done its thing. Mark On 9/09/2015 11:53 AM, David Rueter wrote: > I have been able to get Py2Exe to work well with my Python 3.4 code that > implements a Windows service (that implements a Tornado HTTP server). > Thanks, Mark and others who have made Py2Exe such a useful tool! > > I am having one problem, which is this: when I install the service by > running: "myservice.exe - install", the service gets installed fine. I can > start the service, and this tries to register the .dll (.pyd) that contains > the string resource files needed by the Windows event viewer. However, my > options in setup.py call for files to be bundled into the .exe. (In other > words: bundle_files: 1, compressed: true, and zipfile=None.) > > This leads to errors when trying to access Windows event log events: "The > description for Event ID 4100 from source myservice cannot be found. Either > the component that raises this event is not installed on your local computer > or the installation is corrupted. You can install or repair the component on > the local computer." > > When I inspect the Windows registry, I see that > (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\m > yservice > ) gets updated with something like this: > C:\Projects\MyApp\dist\myservice.exe\servicemanager.pyd This makes sense, > sort of, except that Windows can't really access the .pyd file inside the > zip archive bundled into myservice.exe. > > If I manually make a copy of servicemanager.pyd, and manually edit the > registry to point to C:\Projects\MyApp\dist\servicemanager.pyd then Windows > Event Viewer works fine to view messages logged by myservice. > > What I would really like to be able to do is to write the needed string > resources to the myservices.exe file itself, and register THIS .exe file for > the Windows event viewer to use. This way I would not need to distribute > any additional files, and would not need to manually mess around with things > (though my app may need to explicitly update the registry setting.) > > Can anyone provide any information on any of the following: > > 1) Writing to string resources in myservice.exe (such as in a script that > runs after Py2Exe builds myservices.exe). Is there any reason why this > should not be possible? > > 2) Is Py2Exe currently building string resources? I see resources.py, but > would love some more information or suggestions. I saw an old post that > suggests using pyrcc4 ( > http://comments.gmane.org/gmane.comp.python.py2exe/2907 ) to add in > resources, but if Py2Exe can write the resources natively that seems > cleaner. > > 3) Am I making this harder than it needs to be? Is there just a setting > that I am missing that would tell Py2Exe to include the resources > automatically? > > 4) Is there any other active community or wiki for Py2Exe, or is this > mailing list the best place to ask questions and collaborate on Py2Exe? > > > FYI, here is Microsoft documentation on creating Event Sources: > > https://msdn.microsoft.com/en-us/library/windows/desktop/aa363648(v=vs.85).a > spx > https://msdn.microsoft.com/en-us/library/windows/desktop/aa363661(v=vs.85).a > spx > https://msdn.microsoft.com/en-us/library/windows/desktop/aa363669(v=vs.85).a > spx > > Thanks in advance. > > David Rueter > dr...@as... > > > > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |
From: David R. <dr...@as...> - 2015-09-09 02:20:08
|
I have been able to get Py2Exe to work well with my Python 3.4 code that implements a Windows service (that implements a Tornado HTTP server). Thanks, Mark and others who have made Py2Exe such a useful tool! I am having one problem, which is this: when I install the service by running: "myservice.exe - install", the service gets installed fine. I can start the service, and this tries to register the .dll (.pyd) that contains the string resource files needed by the Windows event viewer. However, my options in setup.py call for files to be bundled into the .exe. (In other words: bundle_files: 1, compressed: true, and zipfile=None.) This leads to errors when trying to access Windows event log events: "The description for Event ID 4100 from source myservice cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer." When I inspect the Windows registry, I see that (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\m yservice ) gets updated with something like this: C:\Projects\MyApp\dist\myservice.exe\servicemanager.pyd This makes sense, sort of, except that Windows can't really access the .pyd file inside the zip archive bundled into myservice.exe. If I manually make a copy of servicemanager.pyd, and manually edit the registry to point to C:\Projects\MyApp\dist\servicemanager.pyd then Windows Event Viewer works fine to view messages logged by myservice. What I would really like to be able to do is to write the needed string resources to the myservices.exe file itself, and register THIS .exe file for the Windows event viewer to use. This way I would not need to distribute any additional files, and would not need to manually mess around with things (though my app may need to explicitly update the registry setting.) Can anyone provide any information on any of the following: 1) Writing to string resources in myservice.exe (such as in a script that runs after Py2Exe builds myservices.exe). Is there any reason why this should not be possible? 2) Is Py2Exe currently building string resources? I see resources.py, but would love some more information or suggestions. I saw an old post that suggests using pyrcc4 ( http://comments.gmane.org/gmane.comp.python.py2exe/2907 ) to add in resources, but if Py2Exe can write the resources natively that seems cleaner. 3) Am I making this harder than it needs to be? Is there just a setting that I am missing that would tell Py2Exe to include the resources automatically? 4) Is there any other active community or wiki for Py2Exe, or is this mailing list the best place to ask questions and collaborate on Py2Exe? FYI, here is Microsoft documentation on creating Event Sources: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363648(v=vs.85).a spx https://msdn.microsoft.com/en-us/library/windows/desktop/aa363661(v=vs.85).a spx https://msdn.microsoft.com/en-us/library/windows/desktop/aa363669(v=vs.85).a spx Thanks in advance. David Rueter dr...@as... |
From: Mario K. <mar...@gm...> - 2015-09-04 22:41:20
|
Hello everyone! I have outlined the problem that I have on Stack Overflow: http://stackoverflow.com/questions/32395904/py2exe-not-including-the-modules-from-includes But in short, I have a program I've done for my M.Sc. thesis that absolutely depends on these libraries: numpy, scipy, PIL, skimage, pyaudio. I am using Anaconda distribution of Python 3.4 for 64-bit Windows 7 - it already had numpy, scipy and skimage, but I had to install PIL and pyaudio manually. As showcased in the SO thread above, a proper working EXE is not showing up, even after losing the whole day trying to add and remove various includes and excludes... I'm bewildered at this point, even moreso because none of the other py to exe solutions didn't work for me (PyInstaller, cx_freeze, nuitka). Anything else I should add? Please help, this is quite urgent and I'd REALLY love to have this program as an executable. Show me how, kindly! :) The whole code of the program is at https://github.com/mkruselj/ImageSound Thank you! ~Mario |
From: Mark H. <ski...@gm...> - 2015-08-19 23:27:20
|
On 20/08/2015 6:50 AM, Josh wrote: > Hi, > > I'm modifying the original source of py2exe/source (c files) and I'd > like to compile run.c to run.exe. I'm using windows 7 VS 2015. What > pointers do you have for a successful compilation? I get syntax > failures on import-tab.c - I haven't figured out what steps you all > are using to build the original source binaries. It's been a while, but IIRC it simply uses distutils - ie, "python setup.py build" - but that typically implies using the same compiler version used to build Python itself. HTH, Mark |
From: Josh <the...@gm...> - 2015-08-19 20:50:21
|
Hi, I'm modifying the original source of py2exe/source (c files) and I'd like to compile run.c to run.exe. I'm using windows 7 VS 2015. What pointers do you have for a successful compilation? I get syntax failures on import-tab.c - I haven't figured out what steps you all are using to build the original source binaries. Thanks, Josh |
From: tom l. <flo...@ho...> - 2015-07-15 18:09:44
|
Hey, So I'm having some troubles to make an executable with a program which uses an external module.the executable is created but when I run it, it shows me this message for a quick moment in the console:AttributeError: 'module' has no attributes 'world' So how should I import the module for the executable to work correctly? |
From: Joseph Pu <JP...@re...> - 2015-07-14 17:24:28
|
Hi, I meet an error when I try to make an exe file, my python is 3.4, And in C:\Users\jpu\AppData\Local\Continuum\Anaconda3\Lib\site-packages\cryptography\hazmat\bindings\openssl\src\ there are two files: osrandom_engine.c , osrandom_engine.h After I created the exe, and run the myprogram.exe file, it tells me that: FileNotFoundError: [Errno 2] No such file or directory: 'c:\\test\\dist\\library .zip\\cryptography\\hazmat\\bindings\\openssl\\src/osrandom_engine.h' In the myprogram.exe, I import the pyopenssl as: from OpenSSL import crypto ..... ... .... What is the error caused by? how to fix this problem? Thanks, cat c:\test>python setup.py py2exe running py2exe 11 missing Modules ------------------ ? backports imported from setuptools.ssl_support ? packaging imported from pkg_resources ? pywintypes imported from - ? setuptools_svn imported from setuptools.command.egg_info ? testing imported from cffi.recompiler ? urllib.pathname2url imported from setuptools.compat ? urllib.splittag imported from setuptools.compat ? urllib.url2pathname imported from setuptools.compat ? win32api imported from platform, win32evtlogutil ? win32com imported from setuptools.sandbox ? wincertstore imported from setuptools.ssl_support Building 'dist\teSSL.exe'. Building shared code archive 'dist\library.zip'. Copy c:\users\jpu\appdata\local\continuum\anaconda3\python34.dll to dist Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\win32\win3 2evtlog.pyd to dist\win32evtlog.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\pyexpat.pyd to dist\pye xpat.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\_cffi_back end.pyd to dist\_cffi_backend.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_ctypes.pyd to dist\_ct ypes.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_decimal.pyd to dist\_d ecimal.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptograp hy\_Cryptography_cffi_c6806e2axd5c405b7.pyd to dist\cryptography._Cryptography_c ffi_c6806e2axd5c405b7.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_bz2.pyd to dist\_bz2.p yd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_lzma.pyd to dist\_lzma .pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_multiprocessing.pyd to dist\_multiprocessing.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\select.pyd to dist\sele ct.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\unicodedata.pyd to dist \unicodedata.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptograp hy\_Cryptography_cffi_a8febd48xffc7b1ce.pyd to dist\cryptography._Cryptography_c ffi_a8febd48xffc7b1ce.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_ssl.pyd to dist\_ssl.p yd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_socket.pyd to dist\_so cket.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\DLLs\_hashlib.pyd to dist\_h ashlib.pyd Copy C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptograp hy\_Cryptography_cffi_b03f9c7x62b488b1.pyd to dist\cryptography._Cryptography_cf fi_b03f9c7x62b488b1.pyd Copy DLL C:\Users\jpu\AppData\Local\Continuum\Anaconda3\MSVCR100.dll to dist\ Copy ExtensionDLL C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packag es\win32\pywintypes34.dll to dist\ c:\test>cd dist --------------------------------------------------------------------------------------------------------------------------- c:\test\dist>teSSL.exe Traceback (most recent call last): File "teSSL.py", line 1, in <module> File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\OpenSSL \__init__.py", line 8, in <module> from OpenSSL import rand, crypto, SSL File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\OpenSSL \rand.py", line 11, in <module> from OpenSSL._util import ( File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\OpenSSL \_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptog raphy\hazmat\bindings\openssl\binding.py", line 60, in <module> class Binding(object): File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptog raphy\hazmat\bindings\openssl\binding.py", line 109, in Binding libraries=_get_libraries(sys.platform) File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptog raphy\hazmat\bindings\utils.py", line 68, in build_ffi_for_binding __import__(module_name) File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible File "C:\Users\jpu\AppData\Local\Continuum\Anaconda3\lib\site-packages\cryptog raphy\hazmat\bindings\openssl\osrandom_engine.py", line 10, in <module> os.path.dirname(__file__), "src/osrandom_engine.h" FileNotFoundError: [Errno 2] No such file or directory: 'c:\\test\\dist\\library .zip\\cryptography\\hazmat\\bindings\\openssl\\src/osrandom_engine.h' |
From: le d. <le....@la...> - 2015-06-29 09:25:19
|
Le 27/06/2015 00:00, Toni Barth a écrit : > Am 26.06.2015 um 22:48 schrieb Toni Barth: >> Hello py2exe users, >> >> i'm currently encountering the following problem, using python 2.7.10 >> and the newest httplib2, doing some youtube api research using the >> google-api-python-client library. >> Loading a httplib2.Http() object, I run into the following problem (of >> course just compiled with py2exe, not running as source code): >> >> ... >> File "oauth2client\util.pyo", line 137, in positional_wrapper >> File "oauth2client\client.pyo", line 1982, in step2_exchange >> File "httplib2\__init__.pyo", line 1608, in request >> File "httplib2\__init__.pyo", line 1350, in _request >> File "httplib2\__init__.pyo", line 1272, in _conn_request >> File "httplib2\__init__.pyo", line 1036, in connect >> File "httplib2\__init__.pyo", line 80, in _ssl_wrap_socket >> File "ssl.pyo", line 911, in wrap_socket >> File "ssl.pyo", line 520, in __init__ >> IOError: [Errno 2] No such file or directory >> >> At first I thought it would be the httplib2 certs which are missing, >> so I included them manually and gave the Http() call the location of >> the new file, but this didn't help. The ssl.py bundled with python >> itself does the buggy thing. Is there a way to include whatever python >> itself needs (I don't know what) manually or can that be patched into >> py2exe itself to prevent these errors in the future? >> >> Thanks for your answers. >> >> Best Regards. >> >> Toni Barth >> > Problem found. > Delivering the C:\python27\lib\site-packages\httplib2\cacerts.txt within > the program bundle and then creating the Http() instance by giving > ca_certs=path_to_cacerts_txt works just fine. It's just bothering that > you'll have to pack and move around the file on your own, it takes time > to read into the package, even if you just need to create the Http() > instance without any knowledge about it, as you'll probably do if you're > using the google-python-api-client. > Anyway, thanks for reading. > Thank you for feeding back :-) |
From: Toni B. <hih...@go...> - 2015-06-26 22:00:30
|
Am 26.06.2015 um 22:48 schrieb Toni Barth: > Hello py2exe users, > > i'm currently encountering the following problem, using python 2.7.10 > and the newest httplib2, doing some youtube api research using the > google-api-python-client library. > Loading a httplib2.Http() object, I run into the following problem (of > course just compiled with py2exe, not running as source code): > > ... > File "oauth2client\util.pyo", line 137, in positional_wrapper > File "oauth2client\client.pyo", line 1982, in step2_exchange > File "httplib2\__init__.pyo", line 1608, in request > File "httplib2\__init__.pyo", line 1350, in _request > File "httplib2\__init__.pyo", line 1272, in _conn_request > File "httplib2\__init__.pyo", line 1036, in connect > File "httplib2\__init__.pyo", line 80, in _ssl_wrap_socket > File "ssl.pyo", line 911, in wrap_socket > File "ssl.pyo", line 520, in __init__ > IOError: [Errno 2] No such file or directory > > At first I thought it would be the httplib2 certs which are missing, > so I included them manually and gave the Http() call the location of > the new file, but this didn't help. The ssl.py bundled with python > itself does the buggy thing. Is there a way to include whatever python > itself needs (I don't know what) manually or can that be patched into > py2exe itself to prevent these errors in the future? > > Thanks for your answers. > > Best Regards. > > Toni Barth > Problem found. Delivering the C:\python27\lib\site-packages\httplib2\cacerts.txt within the program bundle and then creating the Http() instance by giving ca_certs=path_to_cacerts_txt works just fine. It's just bothering that you'll have to pack and move around the file on your own, it takes time to read into the package, even if you just need to create the Http() instance without any knowledge about it, as you'll probably do if you're using the google-python-api-client. Anyway, thanks for reading. Best Regards. Toni Barth |
From: Toni B. <hih...@go...> - 2015-06-26 20:49:03
|
Hello py2exe users, i'm currently encountering the following problem, using python 2.7.10 and the newest httplib2, doing some youtube api research using the google-api-python-client library. Loading a httplib2.Http() object, I run into the following problem (of course just compiled with py2exe, not running as source code): ... File "oauth2client\util.pyo", line 137, in positional_wrapper File "oauth2client\client.pyo", line 1982, in step2_exchange File "httplib2\__init__.pyo", line 1608, in request File "httplib2\__init__.pyo", line 1350, in _request File "httplib2\__init__.pyo", line 1272, in _conn_request File "httplib2\__init__.pyo", line 1036, in connect File "httplib2\__init__.pyo", line 80, in _ssl_wrap_socket File "ssl.pyo", line 911, in wrap_socket File "ssl.pyo", line 520, in __init__ IOError: [Errno 2] No such file or directory At first I thought it would be the httplib2 certs which are missing, so I included them manually and gave the Http() call the location of the new file, but this didn't help. The ssl.py bundled with python itself does the buggy thing. Is there a way to include whatever python itself needs (I don't know what) manually or can that be patched into py2exe itself to prevent these errors in the future? Thanks for your answers. Best Regards. Toni Barth |