Files
dotfiles/install/10-pyenv.sh
Andrejus 0d87c48e9c cleanup
intsall fix attempts

add pyenv path after install

use https repository

install apt-utils

set FAST_MODE in bootstrap.sh

keep truthy FAST_MODE variable

source bashrc after linking

clean up errors

further install fixes

further cleanup

fix fisher install

chmod +x install

remove source bashrc from make
2020-03-02 21:18:00 +00:00

27 lines
668 B
Bash
Executable File

#!/usr/bin/env bash
#
# After running this script:
# 1. pyenv is installed
#
# 1. pyenv is installed
export PYENV_ROOT="$HOME/.pyenv"
if not_installed "pyenv"; then
printf "Installing pyenv...\n"
# Install pyenv prerequisites
# see https://github.com/pyenv/pyenv/wiki/common-build-problems
pyenv_list_file="$install_dir/10-pyenv-pkglist"
install_file "$pyenv_list_file"
# Install pyenv
# see https://github.com/pyenv/pyenv-installer
run "https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer" \
"bash"
fi
printf "pyenv is installed, upgrading...\n"
git --git-dir="$PYENV_ROOT/.git" pull
pyenv --version