I'd use mr.developer
to grab a local checkout:
[buildout]
extensions = mr.developer
auto-checkout = yourpackage
[sources]
yourpackage = svn http://url.to/repository
Now mr.developer
will check out yourpackage
as part of the buildout run, into src/
, run it's setup.py
to make it a development egg, and tell buildout it's available as such. Now buildout will use that local copy to satisfy any yourpackage
requirement.
If your svn package is not a python egg, simply add egg=false
to it's sources
entry, and mr.developer
won't look for a setup.py
to run.
Alternatively, you can just use iw.recipe.cmd
to simply run the svn
command:
[yourpackage]
recipe = iw.recipe.cmd
cmds =
svn export http://url.to/repository