Skip to main content

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

the Python tools for the Polylith Architecture

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)

Source distribution for pdm-polylith-workspace 1.3.10
File Size Uploaded
pdm_polylith_workspace-1.3.10.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdm-polylith-workspace 1.3.10
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.3.10 This release

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page