Little tool - but very big size... :-(
Gerhard Häring
gh at ghaering.de
Tue Feb 21 05:13:09 EST 2006
Durumdara wrote:
> Hi !
>
> I have a problem.
> I have a little tool that can get data about filesystems and wrote it in
> python.
>
> The main user asked me a GUI for this software.
>
> This user is needed a portable program, so I create this kind of the
> software with Py2Exe.
>
> But it have very big size: 11 MB... :-( [...]
You can create an installer using NSIS and choose LZMA compression.
That's the slickest way I know to distribute your application.
If that's too much trouble, you can also distribute your application as
a self-extracting 7ZIP-Archive using LZMA compression
(http://www.7-zip.org/).
Quick size test here with a small wxPython helper app of mine:
py2exe dist directory size: 12.469.572 Bytes
7ZIP self-extracting archive (LZMA, default settings): 2,80 MB
(2.942.543 Bytes)
A NSIS installer will not add much overhead (a few hundred KB).
HTH,
-- Gerhard
More information about the Python-list
mailing list