[Distutils] Optimize option for windows exe scripts?
Phillip J. Eby
pje at telecommunity.com
Thu Jun 29 22:28:03 CEST 2006
At 08:08 AM 6/29/2006 -0500, Patrick K. O'Brien wrote:
>Is there a way to have the Windows .exe created by setuptools use
>optimized Python, like "python -O myscript.py"?
Not at the moment, no.
I'm thinking that future versions of setuptools will need to provide more
control over script details like interpreter options, but I haven't done
much design on it yet. For now, I would suggest setting the PYTHONOPTIMIZE
environment variable as a workaround.
More information about the Distutils-SIG
mailing list