I am trying to deploy a Django app to Heroku where one of the required packages lives on https://testpypi.python.org/pypi and of course Django is on the main PyPI server.
My setup looks like this.
# requirements.txt
-r requirements/req2.txt
-r requirements/req3.txt
# requirements/req2.txt
Django==1.7.7
# requirements/req3.txt
-i https://testpypi.python.org/pypi
foo-bar==0.4
Running the command: pip install -r requirements.txt results in the following error.
Could not find any downloads that satisfy the requirement
Django==1.7.7 (from -r ./requirements/req2.txt (line 2))
No distributions at all found for Django==1.7.7
(from -r ./requirements/req2.txt (line 2))
So to me it looks like the -i argument in req3 is being set then pip tries to look for Django on the testpypi server.
I tried adding -i https://pypi.python.org/pypi to req2.txt but I still get the same error. (perhaps https://pypi.python.org/pypi is the wrong url)
In addition if I run either req*.txt file individually the installation of the package is successful?
How can one cascade requirements files and use private indexes?
Admittedly this question and this one are quite similar but neither deal with private indexs