Poetry
Using Poetry
-
- 1.1 Configuration:
poetry completions bash > /etc/bash_completion.d/poetry.bash-completion
- 1.1 Configuration:
-
- Usage
poetry new poetry-demo
to make a new directory project orpoetry init
in current project
- Usage
-
- Activate venv in the project
poetry shell
- Activate venv in the project
-
- Add dependencies
poetry add pandas
add developer dependencies withpoetry add --dev pytest
- 4.1 get latest versions of all dependencies
poetry update
or list which to updatepoetry update pandas
- Add dependencies
-
- Build the source and wheel archives
poetry build
- Build the source and wheel archives
-
- deactivate venv
exit
- deactivate venv
-
- publish to PyPi
poetry publish
- publish to PyPi
- Opening a poetry project and installing them
poetry install
- update poetry
poetry self update
- poetry help pages easy to access
poetry help <command>
Backlinks