From 7b7a373dbf3f7a71f13bad6bb7a1f5b17581f0d5 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Wed, 21 Sep 2022 14:45:24 +0200 Subject: [PATCH] pyhon3: Remove extra pycache cleanup This extra step is not necessary. Specially since we don't remove the cached files anymore. BugzID: 80673 --- bbappends/core/recipes-devtools/python/python3_%.bbappend | 6 ------ 1 file changed, 6 deletions(-) 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/