openshift private pip repo

If you are working with openshift-flask, then you would surely notice that that your pip freeze to requirement.txt will fail in deploying your app. That is because most of the time your pip freeze contains the latest versions of the python modules, but if a repo is popular openshift’s private repo only contains the highly tested versions. So one solution is to check the available versions from the error messages when the app is deploed through git. Or you can use the requirements.txt --index-url feature.

here’s my requirements.txt

https://gist.github.com/30a1ee02d631d0eda108