Install improvements

This commit is contained in:
Andrejus
2020-07-12 22:33:50 +01:00
parent afdf8bdc4a
commit 8689f00131
11 changed files with 534 additions and 506 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
source "$(dirname $0)/utils.sh"
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
# python3 and pip3 are installed
if not_installed "pip3"; then
@@ -8,9 +9,11 @@ if not_installed "pip3"; then
pyenv install 3.7.0
pyenv global 3.7.0
refresh
fi
echo "python3 and pip3 are installed, upgrading..."
pip install --upgrade pip
pip3 install --upgrade pip
python3 --version
pip3 --version