Files
linux-workspace/rc.local/pyenv.sh

13 lines
253 B
Bash

# Initialize pyenv
if (( ! $LWS_FAST )); then
PYENV_ROOT="${PYENV_ROOT:-$HOME/.pyenv}"
if [[ -d "$PYENV_ROOT" ]]; then
export PYENV_ROOT
if ! can_run pyenv; then
append_path "$PYENV_ROOT/bin"
fi
eval "$(pyenv init -)"
fi
fi