[merge] setup.py should find the packages automatically

Martin Pool mbp at canonical.com
Fri Aug 18 04:34:24 BST 2006


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...

-- 
Martin




More information about the bazaar mailing list