Created
August 4, 2015 11:44
-
-
Save mgedmin/2f2132ead2999a5e2077 to your computer and use it in GitHub Desktop.
"pip install -e foo -r reqs.txt" fails if 'foo' is in reqs.txt;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mg@platonas! ~ $ cd /tmp | |
mg@platonas! /tmp $ mkdir foo | |
mg@platonas! /tmp $ vim foo/setup.py | |
[10s] | |
mg@platonas! /tmp $ virtualenv venv | |
Using real prefix '/usr' | |
New python executable in venv/bin/python | |
Installing setuptools, pip, wheel...done. | |
mg@platonas! /tmp $ echo foo > r.txt | |
mg@platonas! /tmp $ venv/bin/pip install -e foo -r r.txt | |
Obtaining file:///tmp/foo | |
Collecting foo (from -r r.txt (line 1)) | |
Could not find a version that satisfies the requirement foo (from -r r.txt (line 1)) (from versions: ) | |
No matching distribution found for foo (from -r r.txt (line 1)) | |
[exited with 1] | |
mg@platonas! /tmp $ venv/bin/pip install -e foo | |
Obtaining file:///tmp/foo | |
Installing collected packages: foo | |
Running setup.py develop for foo | |
Successfully installed foo | |
mg@platonas! /tmp $ venv/bin/pip install -r r.txt | |
Requirement already satisfied (use --upgrade to upgrade): foo in ./foo (from -r r.txt (line 1)) | |
mg@platonas! /tmp $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment