Subject: Re: please review mailman package
To: None <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 07/26/2002 20:10:57
On Thu, Jul 25, 2002 at 06:24:54PM -0400, Jan Schaumann wrote:
> Manuel Bouyer <firstname.lastname@example.org> wrote:
> > There are one issues left:
> > the software is written in python. I don't know python, but it seems that
> > when a file is used python will dump the bytecode for this file to disk:
> > is myfile.py is used, a myfile.pyc will appear. This pollutes the
> > $PREFIX/mailman hierarchy, and the package won't deinstall cleanly.
> > Is there a way to deal with this in pkgsrc ?
> 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.
Manuel Bouyer <email@example.com>