Can someone please show me a working example of a monorepo, including relevant poetry commands for installation & packaging? #10052
Unanswered
matthewadams
asked this question in
Q&A
Replies: 1 comment
-
Here's my starting point, which is intended to be an experimental proving ground that anyone can see & contribute to: https://github.com/matthewadams/python-poetry-monorepo Would really appreciate PRs or any other help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NB: I'm a python & poetry noob, but I have literally decades of professional software development experience in various modern environments.
I'm trying to establish a python monorepo that houses several library projects, and one or more runnable application projects. To protect the innocent, call the libraries
core
,foo
&bar
, and the runnable application,app
. Every project will depend oncore
, andapp
will depend onfoo
&bar
.I've looked a few monorepo examples so far, and I continue to come up blank. The latest one I tried, referenced at https://github.com/orgs/python-poetry/discussions/7962#discussioncomment-6057387, is https://github.com/KPLauritzen/python-monorepo. I've cloned that locally. Here's what I tried on macos with the latest os updates as of this writing, and got scary red errors:
What I'm looking for is at least
pyproject.toml
files & correct directory tree layout for the monorepo & each project that satisfies the following goals:poetry
command to be able to begin development locally, hopefully with a friction-free development experience (mostly, if not exclusively, in JetBrains PyCharm).pyproject.toml
and other relevant project files.Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions