Binary generation with distutils? (Freeze, py2exe, etc.)

Thomas Heller theller at python.net
Wed Mar 20 04:10:32 EST 2002


"Martin v. Loewis" <martin at v.loewis.de> wrote in message news:m3pu1z91y6.fsf at mira.informatik.hu-berlin.de...
> mlh at vier.idi.ntnu.no (Magnus Lie Hetland) writes:
>
> > I know there are several solutions available for building standalone
> > binary executables from Python programs (Freeze, py2exe, McMillan
> > Installer, etc.) -- I just wondered if it would be possible to add
> > functionality like this to distutils?
>
> That is certainly possible; freeze would be the obvious choice for
> such a mechanism (IMO). Alas, distutils is unmaintained, so don't wait
> for anybody else to implement it for you.
>

I have never *seriously* tried freeze, maybe I gave up too
early. Also I have the impression that some people are actually
using freeze, but I never heard definitive words about it's status.

Problems with freeze, IMO, are that it requires a C-compiler,
which most people on windows do not have, also the resulting
files are much larger than those created by py2exe or installer,
because the byte codes are not compressed.


Thomas





More information about the Python-list mailing list