New submission from Catherine Holloway <milan...@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@python
components: Documentation
messages: 406168
nosy: CatherineH, docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45788>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to