[issue21660] Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc

Michael Haubenwallner report at bugs.python.org
Wed Jun 4 14:51:32 CEST 2014


New submission from Michael Haubenwallner:

On the way to fix issue#15590 especially for AIX, I've discovered that the values provided by config.status used to substitute @TOKEN@ in python-config, python.pc as well as python-config.py may contain references to Makefile variables not known within config.status.

So I thought to use the sysconfig.get_config_vars() here as an additional source for replaceable tokens.

This also allows to remove the hackisch @EXENAME@ sedding for python-config.py, as well as to replace the @SO@ seen in python-config.sh.

----------
components: Build
messages: 219756
nosy: haubi
priority: normal
severity: normal
status: open
title: Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21660>
_______________________________________


More information about the Python-bugs-list mailing list