pyhon3: Remove extra pycache cleanup
This extra step is not necessary. Specially since we don't remove the cached files anymore. BugzID: 80673
This commit is contained in:
parent
535e4a4c8a
commit
7b7a373dbf
|
|
@ -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(){
|
do_install_append(){
|
||||||
cd ${D}${libdir}/python${PYTHON_MAJMIN}
|
cd ${D}${libdir}/python${PYTHON_MAJMIN}
|
||||||
rm -rf turtle.py turtledemo/
|
rm -rf turtle.py turtledemo/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue