[MERGE] Some small fixes for bzr-hg
Andrew Bennetts
andrew at canonical.com
Mon Jul 17 03:18:25 BST 2006
On Mon, Jul 17, 2006 at 10:37:36AM +1000, Robert Collins wrote:
> On Mon, 2006-07-17 at 10:34 +1000, Andrew Bennetts wrote:
> >
> > > > +build
> > >
> > > Whats build here ? Ignoring *.pyc is clearly fine.
> >
> > It's created by distutils (i.e. your setup.py). Try "python setup.py
> > build",
> > which is part of what happens when doing "python setup.py install".
>
> Ah. Anyway to tell it not to create cruft like that? (I use build_ext -i
> when I am using stuff from source, and deb packages otherwise ;)).
build_ext -i still makes the build directory, even though the .so is put
somewhere else.
I'm not sure how easy it would be to change this behaviour in distutils. At a
glance, replacing the default 'build' command with a subclass that sets a
different default in initialize_options would do the trick.
-Andrew.
More information about the bazaar
mailing list