Robin Dunn | 21 Nov 01:59

Re: wxPython 2.7+, py2exe, -b1 or -b2

Josiah Carlson wrote:
> Robin Dunn <robin <at> alldunn.com> wrote:
>> Josiah Carlson wrote:
>>> To reproduce the issue, save the attached setup.py and gui.py into the
>>> same path, then run the following (running the output gui.exe after each
>>> one):
>>>
>>> python setup.py py2exe
>>> python setup.py py2exe -b1
>>> python setup.py py2exe -b2
>>>
>>> If you have patched Python 2.5's py2exe, or if you are using Python 2.4,
>>> wxPython 2.6 will produce a working application (remember to change the
>>> wxversion.ensureMinimal call), but wxPython 2.7 will produce a broken
>>> application... at least on my machine.
>>>
>>> Can anyone else verify?
>> It works here.  Python 2.5, wxPython 2.7.2.0, py2exe 0.6.5.
> 
> Just to make sure, you tried running the gui.exe that it produced, right? 
> Because when I try running the output gui.exe with Python2.5, wxPython
> 2.7.2.0 (which I just installed), and py2exe 0.6.5 produces on Win2k, I
> get an error message telling me to check gui.exe.log, with the traceback
> I provided earlier.

I didn't try it on win2k.  You need to add the gdiplus.dll to run it on 
anything earlier than XP.  The original plan was to only load the 
gdiplus.dll when it is actually needed, but that hasn't been done yet.

--

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

Gmane