[oe] [meta-oe][PATCH] python-pip: add python-distribute in RDEPENDS

Zhenhua Luo zhenhua.luo at freescale.com
Tue Feb 10 06:55:10 UTC 2015


Fix the following runtime issue of pip:
    # pip
    Traceback (most recent call last):
      File "/usr/bin/pip", line 5, in <module>
        from pkg_resources import load_entry_point
    ImportError: No module named pkg_resources

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 meta-python/recipes-devtools/python/python-pip_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pip_1.3.1.bb b/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
index d1a7c8b..1388a3d 100644
--- a/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
+++ b/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
@@ -11,4 +11,4 @@ S = "${WORKDIR}/pip-${PV}"
 inherit setuptools
 
 # Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works
-RDEPENDS_${PN} = "python-modules"
+RDEPENDS_${PN} = "python-modules python-distribute"
-- 
2.1.0




More information about the Openembedded-devel mailing list