Patchwork [2/2] python-setuptools: include setuptools' path to easyinstall.pth

login
register
mail settings
Submitter Lukas Bulwahn
Date Dec. 18, 2012, 1:58 p.m.
Message ID <1355839120-12142-3-git-send-email-lukas.bulwahn@oss.bmw-carit.de>
Download mbox | patch
Permalink /patch/41269/
State New
Headers show

Comments

Lukas Bulwahn - Dec. 18, 2012, 1:58 p.m.
From: Lukas Bulwahn <lukas.bulwahn@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(+)

Patch

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"