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 | Provenance | Actions |
|---|---|---|---|---|
| pdm_polylith_workspace-1.3.10.tar.gz | 8.0 kB | Without provenance | Details for pdm_polylith_workspace-1.3.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdm_polylith_workspace-1.3.10-py3-none-any.whl | Python 3 | none | any | Details for pdm_polylith_workspace-1.3.10-py3-none-any.whl |
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
|
Security for pdm-polylith-workspace 1.3.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.