[Distutils] [zc.buildout] find-links does not deal with two-level hierarchy

Tres Seaver tseaver at palladion.com
Fri Mar 7 18:58:12 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phillip J. Eby wrote:
> At 02:26 PM 3/7/2008 +0100, Andreas Jung wrote:
>> Hi,
>>
>> we have a local fileserver with a two-level hierarchy for egg -something like:
>>
>> haufe.eggserver
>>  +--- haufe.eggserver-0.1.0.egg
>>  +---
>> haufe.recipe.svnsetup
>>  +--- ....
>>
>> easy_install -i http://our-server/egg haufe.recipe.svnsetup
>> works fine with this two-level hierarchy.
>>
>> Using the URL within the find-links option of my buildout.cfg
>> does not work  (Error: Could not find a distribution...) for a part
>> with recipe=haufe.recipe.svnsetup.
>>
>> Bug or feature?
> 
> By design -- easy_install doesn't want to be a general-purpose web spider.
> 
> If you want your index to work with find-links, you'll need to either 
> dump it all in one level (and use -f instead of -i), or else put 
> 2nd-level links in your find-links.

When you use 'easy_install -i URL', you are using an *index*, which is
different than using *find links* (the '-f' options).  If zc.buildout
were able to express "use this package index, but only for this target
egg", then that would be the equivalent spelling.


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

iD8DBQFH0YI0+gerLs4ltQ4RAkD7AJ4o5ZjaEDzxpo8N+TS/sHbMJNh0OwCgw36a
yJBtNehNUiVZauZmsRybzq8=
=JZ5f
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list