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

Martin Aspeli optilude at gmx.net
Sun Jan 28 23:33:44 CET 2007


Ian Bicking wrote:

> Is there a way to do find-links in buildout?  I think so, maybe named 
> something like find-links. 

Yep.

> Then you'd point at a page that has the link 
> with #egg=....  IIRC you have to point find-links at a real HTML page. 

Right. But I don't have such a page. Basically, I want my buildout to 
track e.g.:

  http://svn.plone.org/svn/plone/plone.portlets/trunk

This having a setup.py and I hope other necessary info to check it out 
and build it.

What would I need in terms of find-links for this to work?

> I sometimes put on in svn (maybe actually in the buildout), and point it 
> there.  Annoying part is you have to commit it to test.  buildout, kind 
> of like install_requires, I think needs you to give it something it can 
> actually fulfill.  So you'd need Foo==dev,>1.1 or somesuch.

You mean in buildout's list of eggs-to-install? Basically, my 
buildout.cfg now has:

find-links =
     http://download.zope.org/distribution/
     http://effbot.org/downloads

eggs =
     elementtree
     python-yadis
     python-openid
     python-urljr

I believe I can do foo==dev or whatever in that list of eggs as well. 
But I'm not sure how that relates to svn link above.

Martin



More information about the Distutils-SIG mailing list