Can poetry support multiple packages? #9489
Answered
by
mgvalverde
Sigurdur42
asked this question in
Q&A
-
I currently have a larger application which I'd like to split into multiple packages but within a single pyproject.toml.
Is this supported? I want to use the packages only for beter structuring my large project. |
Beta Was this translation helpful? Give feedback.
Answered by
mgvalverde
Jun 18, 2024
Replies: 1 comment 1 reply
-
Hi, yes it can. You'd need to add in your [tool.poetry]
....
packages = [
{include = "<pkg_folder_1>", from="..."},
{include = "<pkg_folder_N>", from="..."},
] I pushed a demo repo here, in case you want to have a look. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Sigurdur42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
yes it can.
You'd need to add in your
pyproject.toml
a block like this:I pushed a demo repo here, in case you want to have a look.