Fix setting of PIPENV_RESOLVE_VCS from environ (instroduced in f0e3bbaa)

This commit is contained in:
Denis Otkidach
2020-02-11 19:54:07 +03:00
parent d10b2a216a
commit 9ca7543a32
+5 -1
View File
@@ -247,7 +247,11 @@ PIP_EXISTS_ACTION = os.environ.get("PIP_EXISTS_ACTION", "w")
Defaullts to (w)ipe
"""
PIPENV_RESOLVE_VCS = _is_env_truthy(os.environ.get("PIPENV_RESOLVE_VCS", 'true'))
PIPENV_RESOLVE_VCS = (
os.environ.get("PIPENV_RESOLVE_VCS") is None
or _is_env_truthy("PIPENV_RESOLVE_VCS")
)
"""Tells Pipenv whether to resolve all VCS dependencies in full.
As of Pipenv 2018.11.26, only editable VCS dependencies were resolved in full.