-----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          [EMAIL PROTECTED]
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-----
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to