-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Multiproject support #667
Comments
This is not supported by Poetry and the recommended approach is to have separate |
@sdispater, is there any instruction on how to have two
Rather than:
Another use case for which it would be useful to have two |
Hello @Conchylicultor , if you want to release two packages independently it is absolutely best-practice to keep the project folder and therefor the For your second use case: I guess this could be realized via the planned plugin system. fin swimmer |
another use-case for this- i'm using Poetry to build gRPC bindings. I need to build multiple packages of bindings to be named and published separately, but the projects have identical dependencies, build scripts, test scripts, etc. They even share a common source directory (since the proto files form a single tree) It would be really useful to have a single pyproject.toml file specifying multiple packages for this use case. The alternative (having a number of parallel projects) introduces a massive amount of duplication. |
Is this somehow related to the following? I see that it is different, but I could also see some intersection between the two approaches for some use cases. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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:
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.
The text was updated successfully, but these errors were encountered: