Extend build command to support install options. #7338
keriksson-rosenqvist
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I don't understand what you mean/are trying to achieve -- what packages are installed and packages are present during build/are captured in the metadata are completely independent. Are you trying to export dependency groups into the metadata of built wheels? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a setup that uses multiple dependency groups in my pyproject.toml file. Depending on what system I am working on I can install only certain dependencies using e.g.
poetry install --only common,frontend
. This works great but since thebuild
command does not support the options--without, --with, --only, --only-root, --extras, --all-extras
I can not easily build wheels for each sub-system. It would be great if this support could be added.Example use:
poetry build --with common,frontend
,poetry build --extras pyqt
Beta Was this translation helpful? Give feedback.
All reactions