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

2006-02-22 Thread Giovanni Bajo
Felipe Almeida Lessa wrote: >> compared to the small wxPython tool that I compressed recently: 2,80 >> MB (2.942.543 Bytes) > > What about PyGtk? Does anybody have any figures? I can't test here > =(... I have a custom compilation script for PyQt which can package Qt 3.3.5 Core + OpenGL + Table i

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

2006-02-22 Thread Felipe Almeida Lessa
Em Qua, 2006-02-22 às 21:38 +0100, Gerhard Häring escreveu: > A Tkinter hello weights here 1,95 MB (2.049.264 Bytes) > > compared to the small wxPython tool that I compressed recently: 2,80 MB > (2.942.543 Bytes) What about PyGtk? Does anybody have any figures? I can't test here =(... -- "Quem

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

2006-02-22 Thread Gerhard Häring
Max wrote: > Giovanni Bajo wrote: > >>There are also other choices that can be made. For instance, wxWidgets is >>*HUGE*. > > Indeed. Remember Tkinter is built-in. [...] Tkinter is only built-in in the sense that it's shipped with Python by default. It is not automatically part of a minimal Pyt

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

2006-02-22 Thread Max
Giovanni Bajo wrote: > There are also other choices that can be made. For instance, wxWidgets is > *HUGE*. Indeed. Remember Tkinter is built-in. (I never got the hang of Tkinter and prefer wx, but if size is important...) --Max -- http://mail.python.org/mailman/listinfo/python-list

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

2006-02-22 Thread Sion Arrowsmith
BJ in Texas <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >|| 11MB is seldom a concern for today's machine. >A good windows/microsoft attitude.. :-) I wish 8-( : PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 3715 root 15 0 288m 128m 154m S 1.0 6.3 14902:4

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

2006-02-21 Thread Peter Hansen
Larry Bates wrote: > Since the target is Windows only, consider using win32gui > (part of Mark Hammonds win32 extensions) calls to use > native Windows controls. That way you can eliminate > wxWindows altogether. If all you need is a file dialog, > it isn't very difficult. A good point, and one

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

2006-02-21 Thread BJ in Texas
[EMAIL PROTECTED] wrote: || 11MB is seldom a concern for today's machine. || A good windows/microsoft attitude.. :-) -- "Last week, I stated this woman was the ugliest woman I had ever seen. I have since been visited by her sister, and now wish to withdraw that statement." -- Mark Twain -- h

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

2006-02-21 Thread Larry Bates
Since the target is Windows only, consider using win32gui (part of Mark Hammonds win32 extensions) calls to use native Windows controls. That way you can eliminate wxWindows altogether. If all you need is a file dialog, it isn't very difficult. -Larry Bates Mikael Olofsson wrote: > Durumdara w

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

2006-02-21 Thread Martin Franklin
Durumdara wrote: > Dear Martin ! > > Thanx for it: > > setup( > options = {"py2exe": {"bundle_files": 1, # < this > help me > "compressed": 1, > "optimize": 2}}, > # The lib directory contains everything e

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

2006-02-21 Thread Durumdara
Hi ! >I've snipped out the relatively small files above. Yes, true, some of >them consume about 0.5MB each. > >It seems to me that your choice of GUI framework is a major cost here. I >have never used wxpython. Instead my GUIs are based on tkinter. What I >typically end up with is roughly 7MB.

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

2006-02-21 Thread Gerhard Häring
Durumdara wrote: > Hi ! > > Yes, it is. But that tool is designed for USB PenDrive usage. > The assessor is collect all tools it needed to see a machine(s) in the > checked corporation. > He/she needs little programs, because he need to store the results of > the checkings too, not the tools onl

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

2006-02-21 Thread Gerhard Häring
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

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

2006-02-21 Thread Durumdara
Dear Martin ! Thanx for it: setup( options = {"py2exe": {"bundle_files": 1, # < this help me "compressed": 1, "optimize": 2}}, # The lib directory contains everything except the executables and the python

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

2006-02-21 Thread Mikael Olofsson
Durumdara wrote: > But it have very big size: 11 MB... :-( > > The dist directory: > [snip relatively small files] > 2005.09.28. 12:41 1 867 776 python24.dll > [snip relatively small files] > 2006.01.10. 19:09 4 943 872 wxmsw26uh_vc.dll > [snip relatively small files] >

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

2006-02-21 Thread Giovanni Bajo
Durumdara wrote: > 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 ? You can use

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

2006-02-21 Thread bonono
I doubt you can do much then as you mentioned you need GUI which is why there is the GUI related dll in the list(takes a large chunk of it), then the necessary python runtime. However, even for USB pen, I don't think 11M is that much a big deal. We have digicam that can produce file size like that

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

2006-02-21 Thread Ravi Teja
Dependency tracking is usually not perfect in exe generators. I don't recall how good py2exe is at this. If you understand which of those files will not be used by your program, you can safely delete them. A bit of trial and error here if you are not sure. Unless you are using floppies or dialup to

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

2006-02-21 Thread Durumdara
Hi ! Yes, it is. But that tool is designed for USB PenDrive usage. The assessor is collect all tools it needed to see a machine(s) in the checked corporation. He/she needs little programs, because he need to store the results of the checkings too, not the tools only. So I need to minimalize the

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

2006-02-21 Thread Martin Franklin
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 hav

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

2006-02-21 Thread bonono
11MB is seldom a concern for today's machine. 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

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

2006-02-21 Thread Durumdara
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 di