Merge pull request #1011 from jamieconnolly/default-pyenv-root

Use the default PYENV_ROOT if it is not set
This commit is contained in:
Nate Prewitt
2017-11-01 09:36:56 -07:00
committed by GitHub
+2 -2
View File
@@ -81,9 +81,9 @@ PIPENV_INSTALL_TIMEOUT = 60 * 15
PIPENV_DONT_USE_PYENV = os.environ.get('PIPENV_DONT_USE_PYENV')
PYENV_ROOT = os.environ.get('PYENV_ROOT')
PYENV_ROOT = os.environ.get('PYENV_ROOT', os.path.expanduser('~/.pyenv'))
PYENV_INSTALLED = (bool(os.environ.get('PYENV_SHELL')) or bool(PYENV_ROOT))
PYENV_INSTALLED = (bool(os.environ.get('PYENV_SHELL')) or bool(os.environ.get('PYENV_ROOT')))
SESSION_IS_INTERACTIVE = bool(os.isatty(sys.stdout.fileno()))