summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-14 07:51:49 (GMT)
committerGitHub <noreply@github.com>2022-07-14 07:51:49 (GMT)
commit81dca70d704d0834d8c30580e648a973250b2973 (patch)
tree4c3fbd011e05692ae1720457d0e7602484b8dd26 /Doc
parentb03a9e8c8a4f3f5bb7196d4825fbfdaff022756f (diff)
downloadcpython-81dca70d704d0834d8c30580e648a973250b2973.zip
cpython-81dca70d704d0834d8c30580e648a973250b2973.tar.gz
cpython-81dca70d704d0834d8c30580e648a973250b2973.tar.bz2
gh-93939: Build C extensions without setup.py (GH-94474)
Combines GH-93940, GH-94452, and GH-94433
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.12.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index c23026b..942196c 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -356,6 +356,12 @@ Changes in the Python API
Build Changes
=============
+* Python no longer uses ``setup.py`` to build shared C extension modules.
+ Build parameters like headers and libraries are detected in ``configure``
+ script. Extensions are built by ``Makefile``. Most extensions use
+ ``pkg-config`` and fall back to manual detection.
+ (Contributed by Christian Heimes in :gh:`93939`.)
+
* ``va_start()`` with two parameters, like ``va_start(args, format),``
is now required to build Python.
``va_start()`` is no longer called with a single parameter.