From 5966f2916df8ecdfc9e9b17d16283247c88483bd Mon Sep 17 00:00:00 2001
From: Lukas Bulwahn <lukas.bulwahn@bmw-carit.de>
Date: Mon, 17 Dec 2012 17:39:04 +0100
Subject: [PATCH] trying to extract the setting from easyinstall.sh and insert
 it correctly again

---
 meta/classes/distutils.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index 13a27be..537f2ba 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -59,6 +59,9 @@ distutils_do_install() {
             done
         fi
 
+        set EASYINSTALL_${PN}="`sed '1d;$d' ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth`"
+	echo "${EASYINSTALL_${PN}}"
+
         rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
         
         #
@@ -82,3 +85,4 @@ EOF
 EXPORT_FUNCTIONS do_compile do_install
 
 export LDSHARED="${CCLD} -shared"
+export EASYINSTALL_${PN}
\ No newline at end of file
-- 
GitLab