-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
good first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested
Description
Hello,
I have a complex setup.py script that I would like to transition to hatch-python and modularise a bit.
The script is complicated because it declares 3 different Cython extensions (cpu_bridge, cuda_bridge, amd_bridge...) where the first one (cpu) is mandatory and always built, while the others may or may not be built depending on the environment (whether we find cuda or amd packages/libraries installed).
Is there a way to implement this through the include_somelib logic? Maybe a function hook that returns a boolean saying wether the extension should or not be built?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested