add install targets

This commit is contained in:
Andrejus
2020-03-25 19:57:24 +00:00
parent 826cc598b9
commit ae4fc2832c
19 changed files with 111 additions and 196 deletions

View File

@@ -1,19 +1,15 @@
#!/usr/bin/env bash
#
# After running this script:
# 1. python3 and pip3 are installed
#
# 1. python3 and pip3 are installed
if not_installed "pip3"; then
printf "Installing python3 and pip3...\n"
echo "Installing python3 and pip3..."
pyenv install 3.7.0
pyenv global 3.7.0
fi
printf "python3 and pip3 are installed, upgrading...\n"
echo "python3 and pip3 are installed, upgrading..."
pip3 install --upgrade pip
python3 --version
pip3 --version