Just install poetry via pip

pull/37/head
JensDiemer 2020-12-29 14:17:02 +01:00
rodzic 3d166c9083
commit f080b851a9
1 zmienionych plików z 3 dodań i 9 usunięć

Wyświetl plik

@ -19,15 +19,9 @@ check-poetry:
exit 1 ; \
fi
install-poetry: ## install or update poetry
@if [[ "$(shell poetry --version 2>/dev/null)" == *"Poetry"* ]] ; \
then \
echo 'Update poetry' ; \
poetry self update ; \
else \
echo 'Install poetry' ; \
curl -sSL "https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python3 ; \
fi
install-poetry: ## install or update poetry
pip3 install -U pip
pip3 install -U poetry
install: check-poetry ## install PyInventory via poetry
poetry install