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

Robert Collins robertc at robertcollins.net
Mon Feb 18 04:19:22 GMT 2008


On Mon, 2008-02-18 at 12:09 +1100, Martin Pool wrote:
> 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.

setup.py already rewrites the interpreter line of 'bzr'.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080218/5d36926e/attachment.pgp 


More information about the bazaar mailing list