How to use --config-setting to pass custom argument to setup.py when building #3969
-
Before, I use this command to pass arguments to setup.py to modify the wheel name and version suffix flexibility when building wheels. And my setyp.py use the following codes.
It warning that avoid running But I don't know how to modify the codes in setup.py to receive the argument "project_name". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Currently |
Beta Was this translation helpful? Give feedback.
Currently
--config-setting
does not connect in a direct manner withsetup.py
.I suppose you can always use environment variables for that purpose.