← Back to team overview

launchpad-dev team mailing list archive

Re: Finding the right 'bzr' at runtime for 'lp-forking-service'

 

On Nov 23, 2010, at 6:42 PM, Robert Collins wrote:

> On Wed, Nov 24, 2010 at 12:38 PM, Gary Poster <gary.poster@xxxxxxxxxxxxx> wrote:
>> 
>> On Nov 23, 2010, at 6:08 PM, Robert Collins wrote:
>> 
>>> You could make buildout output a bin/bzr I imagine. I don't know the
>>> chicken to wave to make that happen.
>> 
>> Look at the entry_points in setup.py.
> 
> Thanks. That seems to be module:function, but 'bzr' is a static script
> that bzr has which checks python version, library version matching
> etc, and which we can't sanely put *in* bzrlib (because what it does
> is check that bzrlib can be used sanely). Any suggestions for that?

If bzr is not setuptools compatible then there's not a simple way.

I don't know how the bzr script is generated.  A solution depends on that.

Gary




Follow ups

References