I had played with Cx_freeze for freezing my PyQt programs.
Is it possible to let freeze all libraries to a single binary? If not,
could
this be done?


There are two approaches that I know of to get a single binary:

- Some tools (I think py2exe) create a binary that self-extracts on
execution; it writes the interpreter, the source code and the dynamic
libraries to a temporary directory and then runs your program.

- If you want an actual statically linked single binary, I think the only
option is to use freeze.  In fact that is the whole reason I wrote that
patch -- I didn't like the self-extraction option.

Also I looked around and found freeze, which is included in Python. It has
problems with submodules (most ppl will remember) and a patch made this
working (under win32). I try to get it working under Linux but I had no
success.
Does has someone got it working under Linux? It would be nice if this
would
work and the patch for all OS could be merged into Python 2.5.1 ;)


Also I looked around and found freeze, which is included in Python. It has
problems with submodules (most ppl will remember) and a patch made this
working (under win32). I try to get it working under Linux but I had no
success.


As far as I can see, the fix for submodules itself should work under Linux.
What does not work is the regression test (or rather, the configuration of
Python's build system to run that test).  If you could please let me know
what the error messages are, I think I should be able to help you with the
Linux build.

As for the inclusion of this patch into the Python official release, the
patch needs to have this problem with the regression test configuration
fixed, and being reviewed.  The difficult part is the latter as apparently
barely anyone reviews Python patches and so the project has a considerable
patch backlog.

Regards,
Miguel
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to