Back to Devbox

Python with Poetry Example

examples/development/python/poetry/poetry-demo/README.md

0.17.2692 B
Original Source

Python with Poetry Example

Poetry automatically configures a virtual environment for installing your Python packages. This environment can be activated by running poetry shell from within your poetry project.

For more information, see the Poetry Docs

How to Run

In this directory, run:

devbox shell

This will automatically activate your poetry shell via the init_hook.

To exit the poetry shell, use exit. To exit your devbox shell, use exit again.

Configuration

Since Poetry automatically configures a virtual environment for you, no additional Devbox configuration is needed. You can mange your packages and projects.