[Zope-dev] Re: [Zope3-Users] Re: KGS Site Updated
Tres Seaver
tseaver at palladion.com
Mon Nov 19 14:52:05 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Fulton wrote:
> On Nov 19, 2007, at 9:54 AM, Tres Seaver wrote:
>> It's a limitation of buildout, perhaps. It is possible to use
>> setuptools with multiple indexes: 'compoze' allows spelling multiple
>> '-index-url' items on the command line. E.g.::
>
> I'm curious what API you're using.
>
> buildout uses setuptools.package_index.PackageIndex. This only
> accepts a single index URL. Of course, I could create multiple index
> instances, use each one and merge the results. Is that what you're
> doing?
Yes. See the 'compoze.fetcher.Fetcher.download_distributions':
http://repoze.org/viewcvs/compoze/trunk/compoze/fetcher.py?view=auto
I imagine it would be pretty simple to add a per-package override to
buildout.cfg which caused a separate index to be used to fetch a given
distribution.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQell+gerLs4ltQ4RAuRzAJ9BcNcccVz06kQkntz3DuYyF4OTiACgnAtp
1lpp70wd1wQiGkRFHofI9Ks=
=Lcy6
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list