Replies: 1 comment 2 replies
-
You may want to try monas, which I created as a monorepo solution. It supports not only pdm, but also some common backends |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since creating #1059 I've been experimenting with multiple ways to host multiple subprojects within a single git repo. In particular, I've wanted to have the following:
pyproject.toml
) that work out of the box after a clone.My current setup has four subprojects
A
,B
,C
, andD
.B
,C
, andD
all depend onA
. AdditionallyD
depends onC
. I want external projects to be able to importA
,C
, andD
individually or in combination. Finally all of the project have CLIs that need to be accessible.So far I've tried a few possible solutions:
Subprojects in a shared parent directory with relative dependencies.
Using subdirectories and symlinks to connect subprojects.
For now, I've just thrown up my hands and piled everything into a single project even if it means a bunch of mostly orthogonal code lives together and forces the installation of a number of unnecessary dependencies.
Is there an intended way for PDM to support projects like this? Ideally one that lets me keep things mostly modular without having to use 15 separate git submodules and manage updating them in lockstep.
Beta Was this translation helpful? Give feedback.
All reactions