[Zope3-Users] Re: zc.buildout and unreleased eggs in svn

Philipp von Weitershausen philipp at weitershausen.de
Wed Jan 31 05:07:13 EST 2007


Martin Aspeli wrote:
> Philipp von Weitershausen wrote:
>>> Does this example actually work?
>> No, it doesn't. The format is #egg=<EGG>-<VERSION>. We use it currently 
>> on the CheeseShop page for grok and grokproject. You can easy_install 
>> these two even though there's no release. Setuptools will simply get 
>> them from SVN from the URLs that have the "#egg=..." thing.
>>
>> http://cheeseshop.python.org/pypi/grok
>> http://cheeseshop.python.org/pypi/grokproject
>>
> 
> Sio are you doing this in grok's buildout? What does the syntax actually
> look like?

   $ easy_install grokproject
   ...

That works because http://cheeseshop.python.org/pypi/grokproject 
mentions 
svn://svn.zope.org/repos/main/grokproject/trunk#egg=grokproject-dev as 
the download URL. That means easy_install will be able to install 
grokproject even though there's no actual release anywhere. It will 
simply get an svn checkout and run setup.py.

For the same reason, easy_installing grok works (or even mentioning 
'grok' as an egg in a buildout.cfg).

-- 
http://worldcookery.com -- Professional Zope documentation and training
Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5



More information about the Zope3-users mailing list