From: David F. <da...@sj...> - 2005-08-25 07:46:49
|
David Bolen wrote: >In case anyone is interested, I've added an example to the >BetterCompression page on the Wiki: > > http://starship.python.net/crew/theller/moin.cgi/BetterCompression > >with an example distutil command subclass of py2exe that automatically >UPXs binary extension modules (and the main python##.dll module) as >they are copied into the final distribution directory as part of the >py2exe process. > >We've been using this approach here to more closely mimic how the >Installer package used to do it, since it can result in significant >space savings when using large packages like wxPython (not to mention >even for the python##.dll module itself). The key advantage is that >it's automatic, and only needs to occur when a file is copied into the >distribution directory, so generally only once during repeated >development unless you purge the dist tree. > Looks really interesting. Would be nice if you could fill in how much compression it gives you to compare to the other compression methods... David |