Two packages in one Distribution Package using pyproject.toml only #3725
-
This was born from #3566. The goals are
I want to create a demonstrator for a project like this. The repo can be found at Codeberg.org. The structure of folders and files are currently like this
The
Something is wrong with the
Keep in mind that you can also look into the original files in my Codeberg.org repo. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I made stupid mistakes and typos. It works now.
Now it works as expected.
But some of the questions at the end of my initial post are still open. |
Beta Was this translation helpful? Give feedback.
-
Hi @buhtz , as a golden rule I always try to make things as simpele/straight forward as possible and only deviate from that if I have a good reason or if it is not possible to do otherwise. Please find my attempt to answer your questions below:
It is possible. If you know what you are doing , that is completely fine. However this is generally discouraged. It is less confusing to have a 1:1 mapping. Moreover 1:1 mapping avoids name clashing in PyPI (if other dev decides to upload a different distribution using one of your packages names that can cause problems/confusion for your users).
If you are using This link has a very simple example for this small section of the file.
This is possible, but generally discouraged unless you have a good reason. Apart from using |
Beta Was this translation helpful? Give feedback.
Hi @buhtz , as a golden rule I always try to make things as simpele/straight forward as possible and only deviate from that if I have a good reason or if it is not possible to do otherwise.
Please find my attempt to answer your questions below:
[build-system]
is always recommend. You should always have one...It is possible. If you know what you are doing , that is completely fine.
However this is generally discouraged. It is less confusing to have a 1:1 mapping. Moreover 1:1 mappi…