Skip to content

Installation

Poetry

Add Poetry plugins

With the Poetry version 1.2 or later installed, you can add plugins. First, add the Multiproject plugin, that will enable the very important Workspace support to Poetry.

poetry self add poetry-multiproject-plugin

Add the Polylith plugin:

poetry self add poetry-polylith-plugin

Done!

uv, Hatch, PDM, Rye, Pantsbuild and Maturin

No globally added tools needed. Add the project-specific dependencies (see the Setup and Projects & pyproject.toml section), and the build hook plugins to add support for the Polylith structure and when packaging libraries.