[Distutils] Building an egg from Subversion using zc.buildout
Martin Aspeli
optilude at gmx.net
Tue Jan 30 00:14:15 CET 2007
Phillip J. Eby wrote:
> At 10:37 PM 1/29/2007 +0000, Martin Aspeli wrote:
>> 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?
>
> #egg=archetypes.kss-dev
>
> That is, use 'dev' as the version in the link. The combination of an ==dev
> version specification and a #egg=projectname-dev tag means that the code
> will be downloaded and rebuilt *every* time, however.
Alas, this gives me this 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'))
Is there something else I need to do to the svn repository
(http://svn.plone.org/svn/archetypes/archetypes.kss/trunk)? Or is this a
zc.buildout limitation?
Martin
More information about the Distutils-SIG
mailing list