|
|
@ -29,6 +29,11 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Load package manager installed pyenv-virtualenv into the shell session.
|
|
|
|
|
|
|
|
if (( $+commands[pyenv-virtualenv-init] )); then
|
|
|
|
|
|
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found.
|
|
|
|
# Return if requirements are not found.
|
|
|
|
if (( ! $+commands[python] && ! $+commands[pyenv] )); then
|
|
|
|
if (( ! $+commands[python] && ! $+commands[pyenv] )); then
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|