diff --git a/bbappends/core/recipes-devtools/python/python3_%.bbappend b/bbappends/core/recipes-devtools/python/python3_%.bbappend index 492ec87..9293ac0 100644 --- a/bbappends/core/recipes-devtools/python/python3_%.bbappend +++ b/bbappends/core/recipes-devtools/python/python3_%.bbappend @@ -1,9 +1,3 @@ -PACKAGE_PREPROCESS_FUNCS += "${@ 'clean_pycache' if not bb.utils.to_boolean(d.getVar('INCLUDE_PYCS')) else '' }" - -clean_pycache(){ - find ${PKGD} | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf -} - do_install_append(){ cd ${D}${libdir}/python${PYTHON_MAJMIN} rm -rf turtle.py turtledemo/