Files
dotfiles/install/12-poetry.sh
2020-07-11 20:59:48 +01:00

16 lines
293 B
Bash
Executable File

#!/usr/bin/env bash
source "$(dirname $0)/utils.sh"
# poetry is installed
if not_installed "poetry"; then
printf "Installing poetry...\n"
# Install poetry
pip3 install --user poetry
fi
printf "poetry is installed, upgrading...\n"
pip3 install --upgrade poetry
poetry --version