[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 2a630e716e488ac420d308736568829f76e388a3 by Miss Islington (bot) 
in branch '3.10':
[3.10] bpo-45788: Link sys.prefix doc to 'Installation paths' (GH-29606)
https://github.com/python/cpython/commit/2a630e716e488ac420d308736568829f76e388a3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset c06c7c489a82b2db023bb947f0c4d21ad93b8308 by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-45788: Link sys.prefix doc to 'Installation paths' (GH-29606) 
(GH-29632)
https://github.com/python/cpython/commit/c06c7c489a82b2db023bb947f0c4d21ad93b8308


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27864
pull_request: https://github.com/python/cpython/pull/29632

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 4575c01b750cd26377e803247c38d65dad15e26a by Terry Jan Reedy in 
branch 'main':
bpo-45788: Link sys.prefix doc to 'Installation paths' (#29606)
https://github.com/python/cpython/commit/4575c01b750cd26377e803247c38d65dad15e26a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 6.0 -> 7.0
pull_requests: +27863
pull_request: https://github.com/python/cpython/pull/29631

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-17 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +27847
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/29606

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Ned Deily


Ned Deily  added the comment:

> Would osx_framework_user scheme for macOS be a satisfactory entry?

Yes, it should be there.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Catherine Holloway


Catherine Holloway  added the comment:

Hey thanks Ned, sysconfig was exactly what I was looking for when I was reading 
the sys documentation.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Ned, I like your idea.  In particular, link to sysconfig.get_paths for how 
prefix is used on a particular machine to define installation paths.

Sidenote:
https://docs.python.org/3/library/sysconfig.html#installation-paths
says "Python currently supports seven schemes:" and lists 5  get_scheme_names 
list 6, with the extra one being
'osx_framework_user'.  Would
  osx_framework_user: scheme for macOS
be a satisfactory entry?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread STINNER Victor


STINNER Victor  added the comment:

> Victor, with recent file movement, is "while the platform independent header 
> files (all except pyconfig.h) are stored in prefix/include" still true?

Are you talking about Include/cpython/ and Include/internal/ subdirectories?

> Should 'include' be augmented with 'or its subdirectories'?

You can add it if you want.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Ned Deily


Ned Deily  added the comment:

Which installations paths are used varies on other factors besides platform. 
Rather than duplicate information here, I suggest simplifying the sys.prefix 
doc here by removing the details about installation paths and instead refer to 
the Installation Paths section of the sysconfig module documentation, which 
should be the primary reference for this info:

https://docs.python.org/3/library/sysconfig.html#installation-paths

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

On Windows, I believe the correct sentence would be "On Windows, they are in 
prefix/Lib and prefix/include".  Ned, how to complete "On macOS, they are in ?."

Victor, with recent file movement, is "while the platform independent header 
files (all except pyconfig.h) are stored in prefix/include" still true?  In 
what way is pyconfig.h exceptional?  Should 'include' be augmented with 'or its 
subdirectories'?

--
nosy: +ned.deily, steve.dower, terry.reedy, vstinner
stage:  -> needs patch
title: sys.prefix include directory on Windows -> Doc sys.prefix lib & include 
directories on Windows and Mac
type: enhancement -> behavior
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com