classification
Title: Substitute @TOKENS@ from sysconfig variables, for python-config and python.pc
Type: Stage:
Components: Build Versions: Python 3.4, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: haubi
Priority: normal Keywords: patch

Created on 2014-06-04 12:51 by haubi, last changed 2014-06-04 13:35 by haubi.

Files
File name Uploaded Description Edit
6510f2df0d81.diff haubi, 2014-06-04 13:35 review
Repositories containing patches
http://hg.code.sf.net/p/prefix-launcher/cpython#issue21660
Messages (1)
msg219756 - (view) Author: Michael Haubenwallner (haubi) * Date: 2014-06-04 12:51
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.
History
Date User Action Args
2014-06-04 13:35:41haubisetfiles: + 6510f2df0d81.diff
keywords: + patch
2014-06-04 13:35:14haubisethgrepos: + hgrepo249
2014-06-04 12:51:32haubicreate