[Distutils] Building an egg from Subversion using zc.buildout

Martin Aspeli optilude at gmx.net
Mon Jan 29 23:37:36 CET 2007


Phillip J. Eby wrote:

> Development snapshots of setuptools can be checked out with 
> "setuptools==dev", and that will always download a new version because the 
> installed version is always a version like 0.6c2dev-r51290 or 
> something.  This doesn't match ==dev, thereby forcing easy_install to 
> download a fresh copy.

Could you explain how the find-link would work with an ==dev version 
specification?

Again, this may be a buildout issue, but I have:

  find-links =
     ...
 
http://svn.plone.org/svn/archetypes/archetypes.kss/trunk#egg=archetypes.kss-0.1dev
     ...

  eggs =
     ...
     archetypes.kss==dev
     ...

This gives me an error:

Traceback (most recent call last):
   File "./bin/buildout", line 12, in ?
     zc.buildout.buildout.main()
   File 
"/private/tmp/tmp29h1vY/zc.buildout-1.0.0b19-py2.4.egg/zc/buildout/buildout.py", 
line 1056, in main
   File 
"/private/tmp/tmp29h1vY/zc.buildout-1.0.0b19-py2.4.egg/zc/buildout/buildout.py", 
line 309, in install
   File 
"/Users/optilude/Development/Plone/Code/Products/ZopeSkel/trunk/test/bot/eggs/z2c.recipe.zope2instance-0.1dev_r12104-py2.4.egg/z2c/recipe/zope2instance/__init__.py", 
line 36, in install
     requirements, ws = self.egg.working_set()
   File 
"/Users/optilude/Development/Plone/Code/Products/ZopeSkel/trunk/test/bot/eggs/zc.recipe.egg-1.0.0b4-py2.4.egg/zc/recipe/egg/egg.py", 
line 79, in working_set
     path=[options['develop-eggs-directory']]
   File 
"/Users/optilude/Development/Plone/Code/Products/ZopeSkel/trunk/test/bot/eggs/setuptools-0.6c5-py2.4.egg/easy_install.py", 
line 355, in install

   File 
"/Users/optilude/Development/Plone/Code/Products/ZopeSkel/trunk/test/bot/eggs/setuptools-0.6c5-py2.4.egg/easy_install.py", 
line 294, in _get_dist

ValueError: ("Couldn't find", Requirement.parse('archetypes.kss==dev'))

I have a feeling this means my find-link is wrong, but I couldn't find a 
permutation that works...

Martin



More information about the Distutils-SIG mailing list