mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 00:32:13 +02:00
distutils.bbclass: Remove .pyo object files before packaging.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user