Re: [Pyobjc-dev] Standalone table app
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-01-06 09:13:30
|
David Eppstein wrote: > * The application itself is big (7.7Mb). More than half of the bulk > is due to including _xmlplus due to Apple's failure to include > pyexpat in the default command-line Python. Pyexpat itself is not so > big (460k) so maybe it would be possible to reduce the build size. bundlebuilder.py is capable of building standalone apps (provided modulefinder.py is available). It will analyze module dependencies and only include those modules that are needed. However, instead of depending on an installed Python (I suspect your app uses the Python 2.2 as shipped by Apple) it will include whatever (non-Framework) Python (and support libraries) you run bundlebuilder with. The --strip option will strip all binaries, which can reduce the size of the .app bundle by half. For extra compact apps, you should try CVS Python (non-framework), where bundlebuilder.py will use zipimport for .py modules, which may save quite a bit if you have many modules. Don't use 2.3a1 as it has broken zipimport support (entirely due to me) :-(. This is all pretty new stuff and I'd appreciate any feedback. It currently doesn't work for framework builds: this is something I'll have to work on (and could use some help with ;-). [ ... ] > * Startup time is slow. That has also been my experience, even for trivial apps :-( Just |