νμ΄μ¬ λ²μ κ³Ό μμ‘΄μ±μ κ΄λ¦¬νκΈ° μν λ€μν ν΄μ΄ μμ΅λλ€. μ¬κΈ°μλ νΈνλ€κ³ μλ €μ§ POETRYμ μ€μ κ³Ό μ¬μ©μ λνμ¬ κ°λ¨ν μμλ΄ λλ€! μμΈν μ 보λ 곡μ μ¬μ΄νΈ λ° ν λΈλ‘κ·Έλ€μ μ°Έκ³ νμ¬ λ΄ μλ€!
curl -ssl https://install.python-poetry.org/ | python3
poetry help completions
# Zsh (Oh-My-Zsh)
mkdir $ZSH/plugins/poetry
poetry completions zsh > $ZSH/plugins/poetry/_poetry
plugins(
poetry
...
)
poetry new <ν΄λλͺ
>
poetry init
clone
β κ°μνκ²½ μμ± β push
<ν΄λλͺ
>
βββ pyproject.toml
βββ README.rst
poetry shell
exit
poetry config --list
, poetry config [options] [setting-key] [setting-value]
poetry add <λΌμ΄λΈλ¬λ¦¬ λͺ
>
β poetry.lock
νμΌ μ
λ°μ΄νΈ & pyproject.toml
μ μμ‘΄μ± μΆκ° & ν¨ν€μ§ μ€μΉpoetry install
β poetry.lock
μ΄ μλ€λ©΄ ν΄λΉ νμΌμ μ¬μ©νκ³ μλ€λ©΄ pyproject.toml
μ½μ΄μ μμ‘΄μ± ν¨ν€μ§ 쑰건 λ΄ μ΅μ λ²μ μ€μΉ λ° poetry.lock
μμ±poetry update
βpoetry.lock
μμ ν poetry install
poetry remove pandas