Skip to content

Multiproject support #667

@tmirzoev

Description

@tmirzoev
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Hello!
From reading the docs and issues, it is rather unclear if Poetry supports working with multiple subprojects.

Like, I've got one big project A, which has several modules. I'd like to publish some of the modules as separate packages, and, preferably, with one command.

Sample project structure:
root_project_A:

  • module_1(should be packaged and published)
  • module_2 (should not be packaged)
  • module_3 (should be packaged and published)
  • pyproject.toml

How can I achieve this?
One solution is, of course, to make separate pyproject.toml for each of the modules to be packaged and run poetry build on each of them via some shell script. I could even make a poetry task for this.

But maybe there's some simpler solution?
I've read #161 #356 #167 and the subject is still a bit unclear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions