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

Jim Fulton jim at zope.com
Mon Jan 29 12:29:41 CET 2007


Martin Aspeli wrote:
> 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 think you need to create such a page.

>> 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.

There seems to need to be a page you can point to with an
#dev anchor that specified the project name.

Jim


-- 
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