nuovo metodo di installazione di poetry con pip

master
Guido Longoni 2022-11-17 17:18:36 +01:00
parent cca98eb7d0
commit b9341cf202
1 changed files with 7 additions and 3 deletions

View File

@ -5,9 +5,13 @@
. "$(this_script_path)/curl.sh"
function feat_add_poetry() {
feat_needed "pip"
feat_needed "curl"
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
# Questo era il vecchio metodo:
#feat_needed "pip"
#feat_needed "curl"
#curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
# Adesso è raccomandato invece installare direttamente con pip:
pip_feat_needed "poetry"
. "$HOME/.poetry/env"
}