Little tool - but very big size... :-(

Durumdara durumdara at gmail.com
Tue Feb 21 04:14:11 EST 2006


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... :-(

The dist directory:
2006.02.21.  10:09    <DIR>          .
2006.02.21.  10:09    <DIR>          ..
2005.09.28.  12:41            77 824 bz2.pyd
2006.02.21.  10:09                 0 dirlist.txt
2006.02.20.  12:51           611 384 library.zip
2006.02.15.  16:22            23 558 main.ico
2004.12.16.  17:22           348 160 MSVCR71.dll
2005.09.28.  12:41         1 867 776 python24.dll
2006.01.11.  12:19           102 400 pywintypes24.dll
2005.09.28.  12:41           405 504 unicodedata.pyd
2005.09.28.  12:41             4 608 w9xpopen.exe
2006.01.11.  12:19            73 728 win32api.pyd
2006.01.11.  12:20            81 920 win32file.pyd
2006.01.11.  12:26           106 496 win32security.pyd
2006.01.10.  19:09         4 943 872 wxmsw26uh_vc.dll
2006.02.20.  12:51            40 960 wxPyHDDirList.exe
2005.09.28.  12:41            69 632 zlib.pyd
2006.01.10.  19:13           626 688 _controls_.pyd
2006.01.10.  19:12           696 320 _core_.pyd
2006.01.10.  19:13           364 544 _gdi_.pyd
2006.01.10.  19:13           491 520 _misc_.pyd
2006.01.10.  19:13           548 864 _windows_.pyd
              20 file        11 485 758 byte

I need to have more compressed result. Can I compress dll-s, pyd-s with
Py2Exe ?
Can I decrease the total size with something ?

If not, how to I create an self-unpackager and self-starter program that
use an temporary directory in the disk ? With WinRar ?

Thanx for help:
dd






More information about the Python-list mailing list