Skip to content

Commit

Permalink
python3-m2crypto: Remove __pycache__ files
Browse files Browse the repository at this point in the history
They may not be appropriate for target due to cross compiling

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Aug 3, 2023
1 parent 847f144 commit de98253
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ export SWIG_FEATURES

export STAGING_DIR

do_install:append() {
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc
}

BBCLASSEXTEND = "native"

0 comments on commit de98253

Please sign in to comment.