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