<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I had played with Cx_freeze for freezing my PyQt programs.<br>Is it possible to let freeze all libraries to a single binary? If not, could
<br>this be done?</blockquote><div><br>There are two approaches that I know of to get a single binary:<br><br>- 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.
<br><br>- 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.<br><br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also I looked around and found freeze, which is included in Python. It has<br>problems with submodules (most ppl will remember) and a patch made this
<br>working (under win32). I try to get it working under Linux but I had no<br>success.<br>Does has someone got it working under Linux? It would be nice if this would<br>work and the patch for all OS could be merged into Python
2.5.1 ;)</blockquote><div><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also I looked around and found freeze, which is included in Python. It has
<br>problems with submodules (most ppl will remember) and a patch made this<br>working (under win32). I try to get it working under Linux but I had no<br>success.</blockquote></div><br>
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.<br>
<br></div></div>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.
<br><br>Regards,<br>Miguel<br><br>