[New-bugs-announce] [issue45788] sys.prefix include directory on Windows
Catherine Holloway
report at bugs.python.org
Thu Nov 11 13:16:42 EST 2021
New submission from Catherine Holloway <milankie at gmail.com>:
On the page:
https://docs.python.org/3.10/library/sys.html#sys.prefix
the text says
The main collection of Python library modules is installed in the directory prefix/lib/pythonX.Y while the platform independent header files (all except pyconfig.h) are stored in prefix/include/pythonX.Y, where X.Y is the version number of Python, for example 3.2.
However, this seems to only be true on *nix systems. On Windows, the lib and header files are just in prefix/lib and prefix/include. Maybe the text should be changed to say:
On linux, the main collection of Python library modules is installed in the directory prefix/lib/pythonX.Y while the platform independent header files (all except pyconfig.h) are stored in prefix/include/pythonX.Y, where X.Y is the version number of Python, for example 3.2. On Winodws, there are in prefix/lib and prefix/includes.
----------
assignee: docs at python
components: Documentation
messages: 406168
nosy: CatherineH, docs at python
priority: normal
severity: normal
status: open
title: sys.prefix include directory on Windows
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45788>
_______________________________________
More information about the New-bugs-announce
mailing list