New submission from Christian Heimes <li...@cheimes.de>:
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. ---------- components: Build messages: 406597 nosy: christian.heimes priority: normal severity: normal status: open title: Port module setup to PY_STDLIB_MOD() macro and addext() type: enhancement versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com