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

Ian Bicking ianb at colorstudy.com
Sun Jan 28 23:25:06 CET 2007


Martin Aspeli wrote:
>> http://peak.telecommunity.com/DevCenter/setuptools#managing-continuous-releases-using-subversion
>>
>> http://peak.telecommunity.com/DevCenter/setuptools#making-your-package-available-for-easyinstall
> 
> I found myself searching for this very thing, and couldn't find a way to 
> do it with zc.buildout. Listing an svn URL in the 'eggs' section gave a 
> syntax error (with or without the #egg=Foo-dev bit). Listing the svn URL 
> in 'find-links' didn't work either.
> 
> I'm not sure I understand zc.recipe.egg and setuptools well enough to be 
> able to guess what may be wrong. Since zc.buildout uses setuptools 
> though, if there is a standard setuptools way of doing this, I'd hope it 
> should be possible to do it in zc.buildout?

Is there a way to do find-links in buildout?  I think so, maybe named 
something like find-links.  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. 
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.

-- 
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org


More information about the Distutils-SIG mailing list