[PyKDE] plugins and py2exe in PyQt4

Jeremy Sanders jss at ast.cam.ac.uk
Sun Feb 25 15:53:11 GMT 2007


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?

Thanks

Jeremy

-- 
Jeremy Sanders <jss at ast.cam.ac.uk>   http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053




More information about the PyQt mailing list