Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-28 16:01:17 -04:00
parent 4b2f1efd17
commit 805628be2b
+1 -1
View File
@@ -1278,7 +1278,7 @@ def pip_install(
no_deps = False
# Don't specify a source directory when using --system.
if not allow_global:
if not allow_global and ('PIP_SRC' not in os.environ):
src = '--src {0}'.format(project.virtualenv_src_location)
else:
src = ''