[Distutils] Buildout: Including another Python project via mercurial?

David Lyon david.lyon at pythontest.org
Thu Jan 28 23:12:13 CET 2010

Hi Srid,

> I originally posted this in Stackoverflow:
> http://stackoverflow.com/questions/2150887
> Here's my buildout.cfg:
> ..
>      [pyrtm]
>      recipe = mercurialrecipe
>      repository = http://bitbucket.org/srid/pyrtm
>      ...
> Assume that `pyrtm' has a release on PyPI, but I don't wish to use that.
> What I want here is to use the pyrtm from hg repository directly in my
> current project. This means:
> 1/ if I do "import pyrtm", it should use the pyrtm in the local checkout
> (not from pypi release)
> 2/ Automatically fetch the dependencies (install_requires) of pyrtm when
> I run bin/buildout. (otherwise, pyrtm wouldn't work. doh!)
> The above buildout.cfg does none of the above. How do I make it work as
> intended?

Do you want buildout fixed ? or can you add your own code?

Here's a simple way to use hg, change it easily to do a clone etc:



More information about the Distutils-SIG mailing list