[New-bugs-announce] [issue20213] Change the install location of _sysconfigdata.py

Thomas Petazzoni report at bugs.python.org
Fri Jan 10 00:03:48 CET 2014

New submission from Thomas Petazzoni:

The _sysconfigdata.py module contains definitions that are needed when building Python modules. In cross-compilation mode, when building Python extensions for the target, we need to use the _sysconfigdata.py of the target Python while executing the host Python.

However until now, the _sysconfigdata.py module was installed in build/lib.<arch>-<version> directory, together with a number of architecture-specific shared objects, which cannot be used with the host Python.

To solve this problem, this patch moves _sysconfigdata.py to a separate location, build/sysconfigdata.<arch>-<version>/, and only this directory gets added to the PYTHONPATH of the host Python interpreter when building Python modules for the target.

components: Cross-Build
files: 0003-Change-the-install-location-of-_sysconfigdata.py.patch
keywords: patch
messages: 207807
nosy: thomas-petazzoni
priority: normal
severity: normal
status: open
title: Change the install location of _sysconfigdata.py
type: compile error
versions: Python 3.4
Added file: http://bugs.python.org/file33395/0003-Change-the-install-location-of-_sysconfigdata.py.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list