[OE-core] [PATCH 2/2] python-setuptools: include setuptools' path to easyinstall.pth

Lukas Bulwahn lukas.bulwahn at oss.bmw-carit.de
Tue Dec 18 13:58:40 UTC 2012


From: Lukas Bulwahn <lukas.bulwahn at bmw-carit.de>

To work properly, python-setuptools must add its location to the
easyinstall.pth file.

This is achieved using the easyinstall class.
---
 .../python/python-setuptools_0.6c11.bb             |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
index 8608104..38af7a0 100644
--- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
+++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
@@ -30,4 +30,8 @@ RDEPENDS_${PN} = "\
 SRC_URI[md5sum] = "7df2a529a074f613b509fb44feefe74e"
 SRC_URI[sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"
 
+EASYINSTALL_${PN} = "./setuptools-0.6c11-py2.7.egg"
+
+inherit easyinstall
+
 BBCLASSEXTEND = "native"
-- 
1.7.9.5





More information about the Openembedded-core mailing list