Python program distribution revisited
Chris Liechti
cliechti at gmx.net
Mon May 27 14:49:48 EDT 2002
Mark C <mchalkley at notthispart.direcway.com> wrote in
news:MPG.175c24a5538e5d7a989687 at news.direcpc.com:
> I looked at starting to use Python instead of Perl for custom data
> conversion programs a couple years ago, but discarded the idea because
> of the difficulty in distributing standalone Python apps to production
> machines.
>
> Have there been any significant improvements to Python in this regard in
> the interim? Is this an area ActiveState has addressed, for example, as
> they did with their Perl PDK? I'd really like to use Python in the
> future, but the ability to easily produce an exe that's (relatively)
> small in size, and requires no additional files, is an absolute
> necessity.
there is McMillans Installer an py2exe. both are realy easy to use.
both normaly create an exe containing all the scripts, but the additional
DLLs are separate in the same directory. thats verry well suited for most
cases.
if you absolutely need one file, either Installer can produce a self
extracting, executing and cleaning up archive or you take freeze (or
similar) and link all the libs staticaly. the later can go from beeing very
easy (python only + simple extensions) to beeing very hard when many
external libs are used (like GUIs etc)
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list