This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2021-11-19.16:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637340990.31.0.170272925457.issue45847@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-11-19 16:56:30christian.heimessetrecipients: + christian.heimes
2021-11-19 16:56:30christian.heimessetmessageid: <1637340990.31.0.170272925457.issue45847@roundup.psfhosted.org>
2021-11-19 16:56:30christian.heimeslinkissue45847 messages
2021-11-19 16:56:30christian.heimescreate