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:

    http://stackoverflow.com/questions/1153469/mercurial-scripting-with-python

David


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to