diff options
author | Joshua Lock <josh@linux.intel.com> | 2008-11-07 13:42:36 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2008-11-07 13:42:36 +0000 |
commit | 5ef71a412171ac5e4b2d693ffbe9d8baa0df3106 (patch) | |
tree | bff282f919f3692bd6abe0ef7b9575736cb123ae /meta/classes | |
parent | 5be6bb070bd726e085ca8a69b80f65519d33ca1f (diff) | |
download | poky-5ef71a412171ac5e4b2d693ffbe9d8baa0df3106.tar.gz |
distutils.bbclass: Remove .pyo object files before packaging.
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/distutils.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index ef761be707..27351d9c7a 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass | |||
@@ -52,6 +52,8 @@ distutils_do_install() { | |||
52 | fi | 52 | fi |
53 | 53 | ||
54 | rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth | 54 | rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth |
55 | |||
56 | find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \; | ||
55 | } | 57 | } |
56 | 58 | ||
57 | EXPORT_FUNCTIONS do_compile do_install | 59 | EXPORT_FUNCTIONS do_compile do_install |