31-08-2021

This commit is contained in:
2021-08-31 09:29:05 +02:00
parent 7d89fb0224
commit bb890cba15
28 changed files with 1888 additions and 47 deletions

View File

@@ -0,0 +1,49 @@
# Poetry
#### Installation:
```bash
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
```
Ajouter Poetry au $PATH dans `.zshrc`:
```bash
export PATH="/Users/bruno/Library/Python/3.9/bin:$PATH"
```
Complétions:
```bash
# Zsh
$ poetry completions zsh > ~/.zfunc/_poetry
# For poetry: https://github.com/python-poetry/poetry#enable-tab-completion-for-bash-fish-or-zsh
fpath+=~/.zfunc
# additional completions
autoload -U +X compinit && compinit
# Bash (Homebrew)
$ poetry completions bash > $(brew --prefix)/etc/bash_completion.d/poetry.bash-completion
```
#### Désinstallation:
```bash
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - --uninstall
```
#### Mise-à-jour:
```bash
$ poetry self update
```