How to install with -O?

Michael Gilfix mgilfix at eecs.tufts.edu
Thu Nov 28 14:26:44 EST 2002


  Hi all. I've been using __debug__ in my python programs with the
hope to byte-compile my programs with -O on install and remove the
__debug__ code. However, I haven't figured out quite how to do this
with distutils, and some searching through the documentation didn't
reveal anything. Has anyone solved this problem?

                      -- Mike

-- 
Michael Gilfix
mgilfix at eecs.tufts.edu

For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html




More information about the Python-list mailing list