Replies: 1 comment
-
I'm not sure there's a way to achieve what you want with that structure. You mentioned the right docs, which should be the way to go to install that kind of project structure. However, you will end up with module1 / module2 / .. as root packages |
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
-
I am trying to migrate a legacy project to use
poetry
. The structure of the project is causing me problems though.The project is currently setup like this (after adding in
poetry
on my feature branch):The project is legacy as I mentioned and while I understand the structure should be like:
If I do make that change on my dev branch, I can't merge in changes from
main
so that is not an option while this structure remains onmain
(~ few weeks at least)I've looked at the docs here but can't seem to figure out how to install all the modules and have them under the namespace
package
.If I run
poetry install
I get the message:However when I try to import any of my modules it fails:
Does poetry have the machinery to handle my case?
Beta Was this translation helpful? Give feedback.
All reactions