This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: --no-compile option has no effect
Type: Stage:
Components: Distutils Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: tim.peters
Priority: normal Keywords:

Created on 2005-09-13 19:03 by tim.peters, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26275 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2005-09-13 19:03
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.
msg26276 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2005-09-13 19:20
Logged In: YES 
user_id=31435

Closing this as invalid -- it appears to be unique to setup.py 
thingies created by Zope's zpkgtools.
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42368
2005-09-13 19:03:49tim.peterscreate