py2exe and a single exe file?
gerhard.haering at gmx.de
Fri Sep 6 19:50:26 EDT 2002
Stephen Boulet wrote in comp.lang.python:
> I'm trying to get py2exe to work for me, and I must be doing something
> [...] It builds and runs, but only with the other stuff in the build
> directory with the generaged exe. The other stuff is:
> tcl directory containing tcl8.3 and tk8.3 directories
> What I would like to accomplish is just having a single exe file
> lumping everything together. Is this possible?
No. If you want to distribute the output of py2exe, use an installer
like NSIS or just zip it up.
Gordon McMillan's installer has means to do what you want, but it also
needs to unpack .pyd and .dll files at runtime, which it will delete
afterwards. So it basically cheats, which is logical, since you can't
statically link shared libraries, at least not on Windows.
More information about the Python-list