From 05191fed7d71984e4ff173d0e353b53dcd206740 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Mon, 1 Apr 2019 19:26:54 -0400 Subject: [PATCH] Fix resolution with env var Signed-off-by: Dan Ryan --- pipenv/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 1328fa52d7..59aaaaddff 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -443,8 +443,8 @@ def get_deps_from_req(cls, req): requirements = [] # Allow users to toggle resolution off for non-editable VCS packages # but leave it on for local, installable folders on the filesystem - if environments.PIPENV_RESOLVE_VCS or not ( - req.editable or ( + if environments.PIPENV_RESOLVE_VCS or ( + req.editable or parsed_line.is_wheel or ( req.is_file_or_url and parsed_line.is_local and is_installable_dir(parsed_line.path) )