Files
dotfiles/script/install.d/11-python.sh
Andrejus Kostarevas 50193eca51 feat: structure work
- split files/ into separate dirs
- rename scripts/ to script/, remove .sh extensions
- remove publish scripts, tf module, use github host
- remove unused install files
2023-02-24 00:34:31 +00:00

17 lines
340 B
Bash
Executable File

#!/usr/bin/env bash
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
if ! bin_in_path "pip3"; then
pyenv install 3.9.0
pyenv global 3.9.0
fi
pip install --upgrade pip
pip3 install --upgrade pip
python3 --version
pip3 --version
for dep in $(jq -r ".pip_dependencies[]" $CONFIG); do
pip3 install --upgrade $dep
done