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

Phillip J. Eby pje at telecommunity.com
Sun Nov 19 19:52:47 CET 2006

At 12:21 PM 11/19/2006 -0500, Nathan R. Yergler wrote:
>I'm using zc.buildout for deploying a handful of applications, and one
>of our dependencies doesn't have eggs or "correctly" formatted pages
>(that would allow easy_install to track down the repository for direct
>building from source).  Does zc.buildout provide any way to build an egg
>from a Subversion URL?  Something with similar behavior to:
>easy_install -m -d ./eggs http://path/to/svn/repos
>I'm happy to write a recipe if necessary, just thought I'd make sure
>someone else hadn't already scratched this itch.

If it's a dependency declared in your setup.py, you can do something like this:


in your setup() call, to depend on version 1.2 or greater of Foo; the ==dev 
and the #egg=Foo-dev will allow it to be found via SVN.

See also these two manual sections that document the use of ==dev and #egg=:



More information about the Distutils-SIG mailing list