[Tutor] single executable
jfouhy@paradise.net.nz
jfouhy at paradise.net.nz
Mon Aug 1 01:55:05 CEST 2005
Quoting Jorge Louis De Castro <jorge at bcs.org.uk>:
> Hi all,
> I wrote a few small applications, couple hundred of lines each and one
> of them playing around with tkinter. Now py2exe leaves 10 or so files of
> all sorts and one executable to "distribute", and cx freeze isn't much
> better. Furthermore, my 15KB code becomes a whopping 8Meg distributable
> folder! Sure I can cut that in half by zipping but I still think that is
> an unappealing trade.
> Isn't it possible to create a single, reasonably sized, bundled windows
> executable?
Remember that your 15KB code is pulling in all kinds of libraries --- this is
why you can do so much with only a short script.
If your program doesn't use Tkinter, you can shave a few megabytes off your
distribution by removing the Tk DLLs. I think the py2exe wiki has more details
here.
Also, I have heard that the next version of py2exe will wrap everything up into
a single executable. I don't know when it will be out, though.
--
John.
More information about the Tutor
mailing list