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

Jim Fulton jim at zope.com
Thu Feb 1 18:15:16 CET 2007


Note that I'm not ignoring this.  I just need to find some time to  
dig into it.

Jim

On Jan 29, 2007, at 6:14 PM, Martin Aspeli wrote:

> 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
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Distutils-SIG mailing list