DistUtils and optimized compile
Michael Ströder
michael at stroeder.com
Mon Jun 25 11:56:55 EDT 2001
Thomas Heller wrote:
>
> [posted and mailed]
> "Michael Ströder" <michael at stroeder.com> wrote in message news:3B375869.E417C833 at stroeder.com...
> >
> > 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.
>
> Use the -O1 or -O2 command line flag:
> python install -O2
???
I already tried
python -O setup.py install
but that did not help.
python setup.py -O install
seems to be invalid.
Ciao, Michael.
More information about the Python-list
mailing list