[OE-core] [PATCH 3/3] python3-setuptools: Remove pth file creation at recipe level
Jose Lamego
jose.a.lamego at linux.intel.com
Tue Jan 17 15:42:11 UTC 2017
Handling of installed eggs is now performed at the distutils3 bbclass.
This change removes the pth file creation at recipe level.
[YOCTO #8673]
Signed-off-by: Jose Lamego <jose.a.lamego at linux.intel.com>
---
meta/recipes-devtools/python/python3-setuptools_31.0.0.bb | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb
index 65af6f0..b37b381 100644
--- a/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb
@@ -7,11 +7,8 @@ inherit distutils3
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
-# The installer puts the wrong path in the setuptools.pth file. Correct it.
do_install_append() {
- rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
- echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
}
RDEPENDS_${PN} = "\
--
1.8.3.1
More information about the Openembedded-core
mailing list