Install non-editable tag/branch from Git repo with pip

I would like to install a non-editable (e.g. no -e option) tag or branch from a Git repo using pip and cannot seem to find out how to do it.

If I do this:

pip install git+git://github.com/django/django.git@1.2.5#egg=django

It just installs Django master branch and not the 1.2.5 tag. I know that I can install it using the -e option but I don't want to fill up my src dir with packages I am not modifying. This seems like it should be straightforward thing to do but I can't seem how to do it...

Is this possible? If so, how can I accomplish it?

Thanks for any answers!

23
задан Matthew Rankin 2 March 2011 в 20:38
поделиться