quick n' dirty measurement of compression and byte-compilation

Richard Jones richardjones at optushome.com.au
Tue Jan 1 23:16:37 CET 2002


On Wed, 2 Jan 2002 08:23, Zooko wrote:
> ... delivering only byte-compiled .pyo's ...

Don't forget that distributing .pyo only means that python _must_ be run in 
-OO mode for every application that wants to use the modules. This is, in 
some cases (eg. Zope) a pain.


> I'd like to repeat my suggestion to developers: transmit straight .py files
> and do byte-compilation on the end-user's computer, either in the
> installation script or simply at runtime.

Absolutely - this is what distutils does! Use distutils!


>  (Also: use bzip2.)

Does winzip understand bzip2? It's the defacto standard unzipper on windows, 
isn't it? Does Mac OS X come with bzip2?


    Richard




More information about the Python-list mailing list