nuovo metodo di installazione di poetry con pip
parent
cca98eb7d0
commit
b9341cf202
|
|
@ -5,9 +5,13 @@
|
||||||
. "$(this_script_path)/curl.sh"
|
. "$(this_script_path)/curl.sh"
|
||||||
|
|
||||||
function feat_add_poetry() {
|
function feat_add_poetry() {
|
||||||
feat_needed "pip"
|
# Questo era il vecchio metodo:
|
||||||
feat_needed "curl"
|
#feat_needed "pip"
|
||||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
#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"
|
. "$HOME/.poetry/env"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue