How to set git source in requirements .txt file?

I have this code in the requirements .txt file But I remember that with this method I install, but this time I only got an error ...

static3==0.5.1
Twisted==15.0.0
urllib3==1.10.2
w3lib==1.11.0
zope.interface==4.1.2
pip install git+https://github.com/leonardoo/django-dropbox

      

I got an error when I like it ...

File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/pkg_resources/__init__.py", line 2785, in scan_list
remote:            raise ValueError(msg, line, "at", line[p:])
remote:        ValueError: ('Expected version spec in', 'pip install git+https://github.com/rajasimon/python-twitter', 'at', ' install git+https://github.com/rajasimon/python-twitter')

      

+3


source to share


1 answer


In your file requirements.txt

:

...
zope.interface==4.1.2
-e git://github.com/leonardoo/django-dropbox.git#egg=django_dropbox

      



Check the pip

documentation for the topic
.

+5


source







All Articles