diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-07-31 21:59:35 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-02 15:28:39 +0100 |
commit | 01524b4de77501981bc5851230433b82e4657bb8 (patch) | |
tree | c43ada84feaffba9a921d03cc9168ccbc9830569 /meta/recipes-devtools/python | |
parent | e3a13b8d93cdfe2fdb58ef84f6d58bbbcaeb7a05 (diff) | |
download | poky-01524b4de77501981bc5851230433b82e4657bb8.tar.gz |
python-setuptools: Fix setuptools install libdir != /usr/lib
--install-lib= is required to be passed via distutils install
otherwise the install location gets set to whatever the python-native
location is.
(From OE-Core rev: d8ca8b21c6959e772fa1b437ce498b7759fae0ab)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python-setuptools_0.6c11.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb index a769714ba2..24dd9e5cfe 100644 --- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb +++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "PSF" | |||
5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e" | 5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e" |
6 | 6 | ||
7 | SRCNAME = "setuptools" | 7 | SRCNAME = "setuptools" |
8 | PR = "ml4" | 8 | PR = "ml5" |
9 | DEPENDS += "python" | 9 | DEPENDS += "python" |
10 | DEPENDS_virtclass-native += "python-native" | 10 | DEPENDS_virtclass-native += "python-native" |
11 | 11 | ||
@@ -16,6 +16,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" | |||
16 | 16 | ||
17 | inherit distutils | 17 | inherit distutils |
18 | 18 | ||
19 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | ||
20 | |||
19 | do_install_prepend() { | 21 | do_install_prepend() { |
20 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages | 22 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages |
21 | } | 23 | } |