Message406597
bpo-45573 added the PY_STDLIB_MOD() autoconf macro, Modules/Setup.stdlib.in template, and setup.py helper method addext().
The macro sets up
* MODULE_{NAME}_TRUE/FALSE conditional
* MODULE_{NAME} variable with values yes, disabled, missing, or n/a
* MODULE_{NAME}_CFLAGS
* MODULE_{NAME}_LDFLAGS
Additionally there is a MODULE_{NAME}_DEPS variable with dependency information.
The Modules/Setup.stdlib.in template and addext() method consume the variables and set up extension compilation and linking. There is no need to look for headers or libraries in setup.py any more.
Let's port all modules to the new approach. |
|
Date |
User |
Action |
Args |
2021-11-19 16:56:30 | christian.heimes | set | recipients:
+ christian.heimes |
2021-11-19 16:56:30 | christian.heimes | set | messageid: <1637340990.31.0.170272925457.issue45847@roundup.psfhosted.org> |
2021-11-19 16:56:30 | christian.heimes | link | issue45847 messages |
2021-11-19 16:56:30 | christian.heimes | create | |
|