Skip to content

Commit

Permalink
Merge pull request #175 from furgo16/core22-dist-noclean
Browse files Browse the repository at this point in the history
Do not clean Python dist-packages location
  • Loading branch information
chennes authored Feb 25, 2025
2 parents 1da946d + 072054a commit 6e60be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ parts:
set -eux
for snap in "kf5-core22"; do # List all content-snaps you're using here
cd "/snap/$snap/current" && \
find . -type f,l -not -path "./usr/lib/python3/dist-packages/numpy*" \
find . -type f,l \
-not -path "./usr/lib/python3/dist-packages/*" \
-not -name 'libblas.so*' \
-not -name 'liblapack.so*' \
-exec rm -f "$CRAFT_PRIME/{}" "$CRAFT_PRIME/usr/{}" \;
Expand Down

0 comments on commit 6e60be6

Please sign in to comment.