[merge] look for plugins in arch-independent site directory (was Re: Bundling more plugins into bzrtools)

Martin Pool mbp at canonical.com
Mon Feb 18 01:09:58 GMT 2008


On 16/02/2008, James Henstridge <james at jamesh.id.au> wrote:
> On 16/02/2008, Toshio Kuratomi <a.badger at gmail.com> wrote:
> > > Or, alternatively, calculate the right path during setup.py's execution.
> > >
> > That won't work as setup.py will detect what's correct on the build
> > machine.  In a noarch package we need to detect what's right on the
> > system that runs bzr.
>
> Won't the bzr package still be architecture specific here (since it
> contains compiled extension modules).  The aim here is to allow you to
> build architecture independent plugin packages.
>
> So there should be no problem making the decision at package build time.

As far as I know, we don't modify any bzr files at install time.  To
have setup.py do so we would have to introduce a way for it to rewrite
something in bzrlib -- which is not rocket science, but perhaps
Toshio's patch is easier.

bb: approve

-- 
Martin



More information about the bazaar mailing list