Skip to contentSkip to conversation

Fix python-setuptools

PATCH New Mark Hatle 1 participant 2 messages Aug 1, 2012

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

cover Fix python-setuptools

The following changes since commit 4029ce1a15e1dbd374444ee77ccf2a915e463b7b:

package_rpm.bbclass: Accomodate dash when using arrays (2012-07-31 12:22:06 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/python-setuptools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/python-setuptools

Mark Hatle (1):
python-setuptools: Fix setuptools install libdir != /usr/lib

 .../python/python-setuptools_0.6c11.bb             |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 1/1 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.

---
 .../python/python-setuptools_0.6c11.bb             |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta/recipes-devtools/python/python-setuptools_0.6c11.bb +3 -1
index a769714..24dd9e5 100644
@@ -5,7 +5,7 @@ LICENSE = "PSF"
 LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
 
 SRCNAME = "setuptools"
-PR = "ml4"
+PR = "ml5"
 DEPENDS += "python"
 DEPENDS_virtclass-native += "python-native"
 
@@ -16,6 +16,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
 
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
+
 do_install_prepend() {
     install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
 }
Signature · 1 line
1.7.3.4