-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple packages in the same project #161
Comments
I am not sure I understand. What do you mean? Also what does your |
My apologies, I should have included both my The
My project folder layout is:
Using
When I realized that the features I was missing was
And my layout is now:
The tar file generated by
I must be doing something wrong. Either with my |
Unless I am missing something, shouldn't your layout be:
and with
|
I think the OP really means two independent packages, not one package with sub-packages. Distutils always supported to create a distribution with 0 or more modules, 0 or more packages, 0 or more scripts, or even only data files. |
As @merwok said, I meant 2 independent packages, not 2 subpackages in a I don't know if it's something that should be doable and if this issue is still relevant. In the mean time I moved the Feel free to close this issue and thanks again for your time! |
It is now supported with the packages property |
Thanks !!! :-) |
Just to be clear, this refers to import packages not distribution packages, right? (Using the terminology from here: https://sinoroc.gitlab.io/kb/python/packaging.html) |
From the first messages, yes. A Python project can contain multiple modules, packages, scripts and data files. |
Wondering this too. Otherwise how could I separate the dependencies of the individual distribution packages? For now I make a different poetry project for each, but there is quite some boiler plate double (ci/cd pipelines, etc) |
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. |
I'm migrating a project from setuptools to Poetry. The project contains 2 packages, and my setuptools setup was packaging them together. This doesn't seem to work with my Poetry setup!? But maybe it's because the only place I mentioned my second package is in the
[package] include
section.Is it possible to do it with Poetry or is it considered as a bad practice ?!
The text was updated successfully, but these errors were encountered: