Join GitHub today
"pip freeze -r" returns ValueError() if requirements file contains --find-links #391
It seems that pip freeze should not pass --find-links or --index-url to distribute/setuptools when inlined in a requirements file. Here is an easy way to repro the problem:
Storing complete log in /Users/hpfennig/.pip/pip.log
I have a fix, but I am not sure this is the correct way to go about it. Would be happy to do an official pull request if needed.
diff --git a/pip/commands/freeze.py b/pip/commands/freeze.py