wxpython appearance differs after py2exe

Thomas Heller theller at python.net
Fri Mar 5 18:55:44 EST 2004


Chad Haynes <haynesc at rockefeller.edu> writes:

> Hello,
>
> I have a wxPython application that I want to create an executable
> from. Using py2exe produces a program that works very well, but the
> appearance is slightly different than when it was run from the command
> line.  The py2exe version is a little more bland.  Here are links to
> some screenshots:
>
> http://linkage.rockefeller.edu/chaynes/dos.jpg
> http://linkage.rockefeller.edu/chaynes/py2exe.jpg
>
> I'm runnin winXP, any ideas?

You have to provide a manifest file.  This can be a separate file named
<yourapp>.exe.manifest, but it can also be compiled as a resource into
the exe file itself.  The py2exe\samples\advanced directory demontrates
how to do this.

Thomas





More information about the Python-list mailing list