From 5ef71a412171ac5e4b2d693ffbe9d8baa0df3106 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 7 Nov 2008 13:42:36 +0000 Subject: distutils.bbclass: Remove .pyo object files before packaging. --- meta/classes/distutils.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index ef761be70..27351d9c7 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass @@ -52,6 +52,8 @@ distutils_do_install() { fi rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth + + find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \; } EXPORT_FUNCTIONS do_compile do_install -- cgit v1.2.3