I've been sitting on this for a while now and here is the question. Do you know if I'm able to reference a git branch in setup.py in any way? Is '@' sign supposed to do that? Or is it used solely for tags and commits? Here is an example of what I was trying to do.
# setup.py
...
install_requires=['Django==1.5.11']
dependency_links=['git+https://github.com/django-nonrel/django.git@nonrel-1.5#egg=Django-1.5.11']
...
#python setup.py develop
running develop
running egg_info
...
Processing dependencies for mypackage
Searching for Django==1.5.11
Best match: Django 1.5.11
Doing git clone from https://github.com/django-nonrel/django.git to c:\users\my_user_name\appdata\local\temp\easy_install-ci3vh1\django.git@nonrel-1.5
Checking out nonrel-1.5
fatal: Not a git repository (or any of the parent directories): .git
Above works without a problem when I'm not referencing any branch:
git+https://github.com/django-nonrel/django.git#egg=Django
And when I run it with pip:
pip install git+https://github.com/django-nonrel/django.git@nonrel-1.5
I included the package name for purpose, so you can look at their git repo setup. I'm not asking for the alternative ways of installing packages from git, as I'm aware of them. Just if it is possible to reference a branch in setup.py. Thanks in advance.