[PyQt] freezing PyQt4 applications

sole at esrf.fr sole at esrf.fr
Sun May 13 15:42:00 BST 2007


Quoting Roberto Alsina <ralsina at kde.org>:

> On Sun 13 May 2007 09:32:03 Fabiano Sidler wrote:
> > Hi folks!
> >
> > I want to freeze.py my PyQt4 scripts. Unfortunately it does not work,
> > neither by copying the site-packages/PyQt4 directory and using
> > PYTHONPATH nor by specifying the PyQt4 modules on the cmdline by the
> > freeze.py "-m" switch or module path.
> > How can I still freeze my script, if possible to a single ELF file?
> 
> I have had some success using cx_freeze. Not to a single file, but to a
> single 
> folder, at least.
> I only needed to tell it manually to add sip.
>  

Same here. I had to add some libraries to the final folder but otherways it is
fine with cx_freeze.

Armando



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the PyQt mailing list