Repository navigation
Port module setup to PY_STDLIB_MOD() macro and addext() #90005
Copy link
Copy link
Closed
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
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.
- added3.11only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
on Nov 19, 2021 45 down, 35 to go.
84 remaining items
See #93939 for the next step :)
- removedpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
on Jul 20, 2022 - added 6 commits that reference this issue
on Jun 2, 2023 Did you fix it?
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
Contributed ... in bpo-bpo-45847typo #32299Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs