[qmtest] make install

Ricardo Anguiano anguiano at codesourcery.com
Thu Sep 12 20:49:16 UTC 2002


"Mike Carifio" <carifio at usys.com> writes:

> If I do a 'make install' over a previously installed directory, do
> the python scripts get recompiled? I thought the .py -> .pyc compilation
> was automatic and happened anytime .py is newer than .pyc? That
> doesn't seem to be happening when I do a 'make install'. Please
> advise at your convenience. Thanks.

Folks, correct me if I am wrong, but as far as I know, the .py -> .pyc
compilation happens when the .py file is loaded by the Python
interpreter.  It would make sense for timestamps to be checked by the
interpreter to avoid unnecessary work.  I don't think 'make install'
has anything to do with this step.

HTH,
---
Ricardo Anguiano
CodeSourcery, LLC




More information about the qmtest mailing list