[issue41880] Get Python include directories from sysconfigdata

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
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



[issue41880] Get Python include directories from sysconfigdata

2020-09-28 Thread Ben Wolsieffer


Change by Ben Wolsieffer :


--
keywords: +patch
pull_requests: +21469
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22440

___
Python tracker 

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



[issue41880] Get Python include directories from sysconfigdata

2020-09-28 Thread Ben Wolsieffer


New submission from Ben Wolsieffer :

The distutils.sysconfig.get_python_inc() function finds headers relative to 
sys.base_prefix or sys.base_exec_prefix. This causes problems when 
cross-compiling extension modules because Python's headers are not platform 
independent.

Instead, get_python_inc() should use the INCLUDEPY and CONFINCLUDEPY variables 
from sysconfigdata to find headers. The _PYTHON_SYSCONFIGDATA_NAME environment 
variable can then be used to make build arch Python load sysconfigdata from 
host arch Python.

--
components: Cross-Build, Distutils
messages: 377622
nosy: Alex.Willmer, benwolsieffer, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Get Python include directories from sysconfigdata
type: enhancement
versions: Python 3.10

___
Python tracker 

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