Skip to content

Two packages in one Distribution Package using pyproject.toml only #3725

Answered by abravalheri
buhtz asked this question in Q&A
Discussion options

You must be logged in to vote

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 not clear for me if I need a [build-system] section when not having a setup.py and/or setup.cfg

[build-system] is always recommend. You should always have one...

Is it even possible to have two Import Packages in one Distribution Package using only a pyproject.toml?

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by buhtz
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