diff options
author | Lukas Bulwahn <lukas.bulwahn@bmw-carit.de> | 2012-12-13 17:55:38 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-12-14 15:17:22 -0800 |
commit | 11229def87d048c51190b9bd275c73d1f8bf6007 (patch) | |
tree | 8e72e549ac230fe5dbafca6e56b9bda3e8a27bda /meta/recipes-connectivity/socat | |
parent | 93ee5dd7c0cc0eddaad9bc9ebb31c00e97df64cb (diff) | |
download | openembedded-core-11229def87d048c51190b9bd275c73d1f8bf6007.tar.gz openembedded-core-11229def87d048c51190b9bd275c73d1f8bf6007.tar.bz2 openembedded-core-11229def87d048c51190b9bd275c73d1f8bf6007.zip |
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.
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>
Diffstat (limited to 'meta/recipes-connectivity/socat')
0 files changed, 0 insertions, 0 deletions