How to make executable file ?

Gabriel Cosentino de Barros aut_gbarros at uolinc.com
Wed Jan 5 11:37:36 EST 2005


> Also, you can try with py2exe. It's very easy.
> Catalin.
> > You may want to try cx_freeze.

I brief experience with both. may be helpful

1. I did a little program on python/TK. Some 100 lines or less
2. executed cx_freeze
3. executed py2exe

In the end, i had a dir with the name of the script:
03/12/04  18:08         <DIR>          .
03/12/04  18:08         <DIR>          ..
03/12/04  18:07                 28.672 bugger.12.exe
25/05/04  21:19                 45.117 datetime.pyd
03/12/04  18:07                563.528 library.zip
09/11/04  15:41                    964 palavras.txt (this is data, i put
here)
25/05/04  21:17                974.909 python23.dll
03/12/04  18:07         <DIR>          tcl
31/03/04  21:34                569.344 tcl84.dll
31/03/04  21:41              1.011.200 tk84.dll
25/05/04  21:18                 16.384 w9xpopen.exe
25/05/04  21:18                 57.401 _sre.pyd
25/05/04  21:19                 36.925 _tkinter.pyd
              10 File(s)      3.304.444 bytes
               3 Dir(s)   2.143.559.680 bytes free


Despite the fact that it got extremely big (but i wasn't expecting less when
i started) it got pretty clumsy for what i had in mind. I was hoping for
something like a 10Mb-single-exe-file kinda of result :)

I belive cx_freeze didn't did much because i had no small includes. just the
huge ones like Tk.

Gabriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050105/58c919cc/attachment.html>


More information about the Python-list mailing list