Subject: Re: please review mailman package
To: None <email@example.com>
From: Jan Schaumann <firstname.lastname@example.org>
Date: 07/26/2002 14:35:36
Manuel Bouyer <email@example.com> wrote:
> On Thu, Jul 25, 2002 at 06:24:54PM -0400, Jan Schaumann wrote:
> > I believe you can precompile all python files before installing.
> > Whether or not that is a configure-option (or something) or something
> > that we'd need to do between build and install, I don't know.
> In my case a large bunch of them are not done at install time, but not
> all of them. What is the way to precompile a .py file ?
> I could easily add this to the post-install target.
I think it's something like
python -O -c "from compileall import *; \
(I'm by no means a python expert, I just had to work on a package that
did this, once, so take caution when following my advice.)
Time is an illusion, lunchtime doubly so.