[merge] setup.py should find the packages automatically

John Arbash Meinel john at arbash-meinel.com
Fri Aug 18 13:43:39 BST 2006


Martin Pool wrote:
> On 17 Aug 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> 
>>> I think things are still clean, so I'm submitting it. But I'm attaching
>>> a bundle to show the changes. If someone doesn't like it, I'm willing to
>>> update it.
> 
>>> +# The list of packages is automatically generated later. Add other things
>>> +# that are part of BZRLIB here.
>>> +BZRLIB = {}
> ....
>>> +BZRLIB['packages'] = get_bzrlib_packages()
> 
> With a comment like that I would expect it to do something like
> 
>   BZRLIB['packages'].setdefault('packages', []).extend(get_bzrlib_packages())
> 
> But that can wait til someone actually wants to use it...
> 

Well, its actually:
BZRLIB.setdefault('packages',[]).extend(get_bzrlib_packages())

But I would be fine using that. The comment was meant for things that
aren't 'packages'. But I realize it is unclear.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060818/72f37862/attachment.pgp 


More information about the bazaar mailing list