update to environments.py

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-26 11:08:44 -04:00
parent d8eea34d7f
commit d917f27056
+1 -2
View File
@@ -39,13 +39,12 @@ PIPENV_MAX_SUBPROCESS = int(os.environ.get('PIPENV_MAX_SUBPROCESS', '8'))
PIPENV_MAX_DEPTH = int(os.environ.get('PIPENV_MAX_DEPTH', '3')) + 1
# Tells Pipenv to use the virtualenv-provided pip instead.
PIPENV_VIRTUALENV = None
PIPENV_USE_SYSTEM = False
if 'PIPENV_ACTIVE' not in os.environ:
if 'PIPENV_IGNORE_VIRTUALENVS' not in os.environ:
PIPENV_VIRTUALENV = os.environ.get('VIRTUAL_ENV')
PIPENV_USE_SYSTEM = bool(os.environ.get('VIRTUAL_ENV'))
else:
PIPENV_VIRTUALENV = None
# Tells Pipenv to use hashing mode.
PIPENV_USE_HASHES = True