How is pip install using git different than just cloning a repository?

Viewed 7487

I'm a beginner with Django and I'm having trouble installing django-basic-apps using pip.

If I do this...

$ cat requirements.txt 
git+git://github.com/nathanborror/django-basic-apps.git

$ pip install -r requirements.txt

I end up with lib/python2.6/site-packages/basic/blog that does NOT have a templates directory.

If I do this...

git clone http://github.com/nathanborror/django-basic-apps.git

I end up with a copy of basic/blog that DOES have a templates directory.

I suspect something about django-basic-apps or pip makes it not able to be installed via pip. I thought maybe reading django-basic-apps's setup.py would lead me to the answer, but I couldn't see it.

(I should add that if I install without using pip, I'm able to get django-basic-apps working just fine.)

1 Answers
Related