PDM Build Hook for a Polylith workspace
A plugin for PDM and the Polylith Architecture.
This build hook is making the virtual environment aware of a Polylith Workspace.
When running pdm install it will add an additional pth file to the virtual environment,
including paths to the bases and components folders.
Usage
PDM has already a configuration option called project-dir, that is meant for defining a custom
path to the Python source code. But it only allows one directory.
The code in a Polylith workspace is organized into two folders (bases, components), and that is the reason for using this hook.
Installation
[build-system]
requires = ["pdm-backend", "pdm-polylith-workspace"]
build-backend = "pdm.backend"
This is only needed in the Polylith workspace pyproject.toml, and not in the individual projects.
Polylith documentation
Metadata
Release files for pdm-polylith-workspace 1.3.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdm_polylith_workspace-1.3.10.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdm_polylith_workspace-1.3.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.3 kB
Release files / pdm_polylith_workspace-1.3.10.tar.gz
| Download URL | pdm_polylith_workspace-1.3.10.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b0d776aa8ba95804360ff66d19a34a84bdea35f96a607e2e463dd194c82e5b9
|
|
BLAKE2b-256 checksum How to use checksums |
87340d64b645b59970e9699c64bd7a4e4ec727140fda5d1db5288cede8f98531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / pdm_polylith_workspace-1.3.10-py3-none-any.whl
| Download URL | pdm_polylith_workspace-1.3.10-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26752cc928a7bebf07637e62c26fe3cf515136a6610f480c21207d20da8d64c3
|
|
BLAKE2b-256 checksum How to use checksums |
2e360f8107ec34308e6de453d364120edbe7aa9588b39d7d45cb17c0b319ddbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|