[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r20781 - trunk

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-07-25 19:59:20 CEST

On Tue, 25 Jul 2006, David James wrote:

> On 7/19/06, maxb@tigris.org <maxb@tigris.org> wrote:
> >* autogen.sh: Purge *.pyc files from the build/ hierarchy after using the
> > build generator, so that we do not ship them in tarballs.
> >[...]
> >+find build/ -name '*.pyc' -print -exec rm {} \;
>
> Does it make sense to do this in autogen.sh? Python will actually
> perform faster if you leave the compiled Python files in the tree.
> Instead, I'd recommend moving this code into dist.sh so that we'll
> kill the pyc files before building the tarball.

I like the sound of David's suggested approach better. I found it
weird that autogen was to be removing the Python bytecode on the
grounds that we shouldn't be packaging them with the source tarball,
since it doesn't really strike me as autogen's job. Doing this in
dist.sh, on the other hand, is very appropriate, and satisfies Max's
desired behavior. I'd +1 a backport of that, but am -0 on the change
to autogen.

- Dan

  • application/pgp-signature attachment: stored
Received on Tue Jul 25 20:00:16 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.