Skip to content

Can poetry support multiple packages? #9489

Answered by mgvalverde
Sigurdur42 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

yes it can.

You'd need to add in your pyproject.toml a block like this:

[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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sigurdur42
Comment options

Answer selected by Sigurdur42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants