Issue 1290382: --no-compile option has no effect (original) (raw)
ZODB ships with a .py file containing a syntax error (that's intentional, it's part of a test of the zope.testing component). So, whenever somone does
setup.py install
they see a complaint about this file, like
byte-compiling /home/tim/glom/lib/python2.4/site- packages/zope/testing/testrunner- ex/sample2/sampletests_i.py to sampletests_i.pyc File "/home/tim/glom/lib/python2.4/site- packages/zope/testing/testrunner- ex/sample2/sampletests_i.py", line 15 importx unittest ^ SyntaxError: invalid syntax
That's fine. The problem is that doing
setup.py install --no-compile
makes no difference -- it still tries to compile everything to .pyc. True at least in Python 2.3.5 and 2.4.1.