mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 11:18:35 +00:00
python3-pyserial: also remove /usr/bin/__pycache__
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -9,6 +9,7 @@ inherit pypi setuptools3 ptest
|
||||
do_install:append() {
|
||||
rm -f ${D}${bindir}/pyserial-miniterm
|
||||
rm -f ${D}${bindir}/pyserial-ports
|
||||
rm -rf ${D}${bindir}/__pycache__
|
||||
rmdir ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user