I wanted to install pinax and other dependent packages listed at
http://pypi.pinaxproject.com I try with the following settings in the requirements file:
django-notification==0.1.4
django-openid==0.2.0
django-email-confirmation==0.1.3
django-mailer==0.1.0
django-announcements==0.1.0
django-pagination==1.0.5.1
django-timezones==0.1.4
django-ajax-validation==0.1.3
django-uni-form==0.6.0
template_utils==0.4p2
django-staticfiles==0.1.2
--index-url http://pypi.pinaxproject.com
--index-url http://pypi2.pinaxproject.com
and then
pip install -r requirements.txt
Other packages get installed but the above two lines are ignored what am i missing?
You should use --extra-index-url
:
--extra-index-url http://pypi.pinaxproject.com
--extra-index-url http://pypi2.pinaxproject.com
You should only use --index-url
when you wish to replace the official PyPI. The parameter --extra-index-url
adds additional PyPI repositories to install packages from and it still allows you to install packages from the official PyPI (unless, of course, you only wish to use a mirror, then --index-url
is appropriate).
See requirements.txt documentation for more information.