From c1ace1ca156cacf53146896ef2b5bd85482b3bac Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 11 Sep 2017 13:26:19 -0400 Subject: [PATCH] fix for awiddersheim Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 57d047cc..f51d836e 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -777,8 +777,6 @@ def pip_install( no_deps=True, verbose=False ): - # no_deps = False when the package_name is a VCS. - # Create files for hash mode. if (not ignore_hashes) and (r is None): r = tempfile.mkstemp(prefix='pipenv-', suffix='-requirement.txt')[1] @@ -786,7 +784,7 @@ def pip_install( f.write(package_name) # Install dependencies when a package is a VCS dependency. - if [r for r in requirements.parse(package_name)][0].vcs: + if [r for r in requirements.parse(package_name.split('--hash')[0])][0].vcs: no_deps = False # Try installing for each source in project.sources.