Hello,
The UpdateAgent has now been updated to automatically compile the Python
code for both the incremental and new release updates.
(And the way this compilation works, if you are running "python" at the
time then it creates *.pyc files, and if you are running "python -O" it
creates *.pyo files. This seems like an odd restriction for Mr Python to
have made but hopefully will not cause a problem because if you use the
analysis script it always runs as "python -O", so consistantly deals with
*.pyo files.)
Wayne
On Wed, 14 Feb 2007, Wayne Boucher wrote:
> Sounds like a good idea. There even seems to be a couple of modules,
> py_compile and compileall, which allow this to be done from inside Python
> (I'll have to look at the documentation to see about *.pyc and *.pyo).
> What a great language, eh.
>
> Wayne
>
> On Tue, 13 Feb 2007, Murali Vadivelu wrote:
>
> > Dear Wayne,
> >
> > Can you please extend this mechanism to byte-compile .py files when
> > they are updated? That would make life easier for people with system-
> > level installation of CcpNmr, e.g., Fink installed CcpNmr.
> >
> > Many thanks.
> >
> > Best regards,
> > Murali.
> >
>
|