summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2021-11-23 10:28:14 (GMT)
committerGitHub <noreply@github.com>2021-11-23 10:28:14 (GMT)
commit2c047f604e6a999390b5fa4ebfb6e8222c5cc096 (patch)
treef00087616ca46a991a5f106d4bcd73d41bdc1346
parent135cabd328504e1648d17242b42b675cdbd0193b (diff)
downloadcpython-2c047f604e6a999390b5fa4ebfb6e8222c5cc096.zip
cpython-2c047f604e6a999390b5fa4ebfb6e8222c5cc096.tar.gz
cpython-2c047f604e6a999390b5fa4ebfb6e8222c5cc096.tar.bz2
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
-rw-r--r--Doc/library/sysconfig.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index 7ef3b24..713be1e 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.