[Python-checkins] Clarify that discutils.(plat)include is for CPython's headers (GH-29578)

encukou webhook-mailer at python.org
Tue Nov 23 05:28:26 EST 2021


https://github.com/python/cpython/commit/2c047f604e6a999390b5fa4ebfb6e8222c5cc096
commit: 2c047f604e6a999390b5fa4ebfb6e8222c5cc096
branch: main
author: Petr Viktorin <encukou at gmail.com>
committer: encukou <encukou at gmail.com>
date: 2021-11-23T11:28:14+01:00
summary:

Clarify that discutils.(plat)include is for CPython's headers (GH-29578)

Change the docs to note that "include" and "platinclude" are
for CPython's headers, and not necessarily for headers of
third-party libraries.

See discussion in: https://discuss.python.org/t/clarification-on-a-wheels-header-data/9305/19

files:
M Doc/library/sysconfig.rst

diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index 7ef3b2489673e..713be1e02cea6 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -96,8 +96,10 @@ identifier.  Python currently uses eight paths:
   platform-specific.
 - *platlib*: directory for site-specific, platform-specific files.
 - *purelib*: directory for site-specific, non-platform-specific files.
-- *include*: directory for non-platform-specific header files.
-- *platinclude*: directory for platform-specific header files.
+- *include*: directory for non-platform-specific header files for
+  the Python C-API.
+- *platinclude*: directory for platform-specific header files for
+  the Python C-API.
 - *scripts*: directory for script files.
 - *data*: directory for data files.
 



More information about the Python-checkins mailing list