[PyKDE] plugins and py2exe in PyQt4

Phil Thompson phil at riverbankcomputing.co.uk
Sun Feb 25 16:21:20 GMT 2007


On Sunday 25 February 2007 3:53 pm, Jeremy Sanders wrote:
> Following on from previous threads, e.g.
> http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg09585.html and
> http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg09565.html ,
> the widget-plugins directory does not exist if a script is converted to an
> exe file using py2exe (well it exists in a zip file, but that's hard to
> solve). This means you can't load ui files in the program.
>
> An easy workaround would be for objcreator.py to ignore loading plugins if
> the plugin directory does not exist. Would it be possible to have a check
> for the directory or a catch for the exception?

I would prefer to see the real bug in py2exe fixed.

Phil




More information about the PyQt mailing list