DistUtils and optimized compile

Oleg Broytmann phd at phd.fep.ru
Mon Jun 25 17:49:01 CEST 2001


On Mon, 25 Jun 2001, Michael [iso-8859-1] StrЖder wrote:
> I'd like to use DistUtils for a pure Python module package.
> Everything seems to be ok so far but when doing python setup.py
> install only the .pyc byte-code is compiled and installed. I'm
> missing the .pyo files with the optimized compiled byte-code.

python -O /usr/local/lib/python2.1/compileall.py /usr/local/lib/python2.1/site-packages

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list