Robert,
Robert wrote:
...
in attachment the simple wx hello script.
I tried a simple py2exe script also meanwhile, but not with GUI2Exe.
It came up with pretty the same files, the same ~75 frozen python files and the above DLL's. After telling him "ascii": 1 (to not include lots of encoding stuff by default)
But py2exe didn't put the crucial
MSVCR90.dll and MSVCP90.dll and (questionable gdiplus.dll ?). Just it listed them randomly in a final 'may be' printout amongst many standard OS DLL's without any special warning. cxFreeze seems to be more sensitive there regarding mistakes.
I don't think including or just telling you about it is a big deal. To deploy an application you should/will need to create an installer and it should be the job of the installer to figure out what needs to be installed on which particular OS.
E.g. cxFreeze includes the msvcr dll's but not the corresponding manifest, so your app will not run on all the different MS OS's.
There has been a bit of traffic on this subject, especially in relation with Py2.6 but the same is really true with Py2.5 (just different dll's etc).
You might want to look at the wiki pages I started (will add a cxFreeze page based on Anthony Tuininga comments/suggestions in a recent thread - hoped to get to it this week but that will not happen).
http://wiki.wxpython.org/Deployment
When I add those 3, its also ~6MB with py2.6
Just UPX could do some impact of ~20%
The sample shown on the above wiki page ends up being a 4.7MB using InnoSetup on my Vista machine.
Really interested about your 2.46MB - even without those 3 DLL's it would be significantly less than 4.5MB compressed (non-UPX) here.
Just with python2.3, which is a half size DLL and only requiring standard msvcrt's, I see so far a significant impact. But requiring effort: unfortunately they stopped the wx binaries for that.
Is 2 MB+/- a real big issue for you? I can see this in embedded or small hand held type systems, in which case maybe Python/wxPython is not the right dev platform.
My app with Py2.5 and wxPython 2.8, including db, images etc etc is a 30MB installer and I do not think that it is a very big application yet and I do not recall having had a user complain about it, even so some of my competitors have apps with less then 10MB installers.
Werner