From 805628be2b9167300a6466c988a2d56c7611b8d1 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 28 Sep 2017 16:01:17 -0400 Subject: [PATCH] fix #756 Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 3e04bbee..2a73194a 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -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 = ''