summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf_2.69.bb
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@bmw-carit.de>2012-12-13 17:55:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-23 13:00:50 +0100
commit88de87eb4e8ee79815ca48cd592292950ac1cf56 (patch)
tree650ec9f454d6be966e58b90432b68a4395efb8f2 /meta/recipes-devtools/autoconf/autoconf_2.69.bb
parent651658eac78d36f4de9a5a994f47b6888f343c68 (diff)
downloadpoky-88de87eb4e8ee79815ca48cd592292950ac1cf56.tar.gz
distutils: Replacing path to native python by path to python in the image to support python packages with console-script setup
When using distutils for a python package based on a python-setuptools installation script that sets up a console script, the header of the console script created by setuptools points to the python-native path. The console scripts are commonly executed in the image, but not in the sysroot environment. Therefore, the header of the console scripts should point to the python interpreter in the image. Setuptools does not allow to set the path of the python interpreter via some command-line argument. Hence after the installation script ran, the distutils class replaces the path in the console script files created by the installation. (From OE-Core rev: 55c6f1318fe62f7cec37776853cf8bef82a55f89) Signed-off-by: Lukas Bulwahn <Lukas.Bulwahn@oss.bmw-carit.de> sgw - added \ to protect the space. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf_2.69.bb')
0 files changed, 0 insertions, 0 deletions