|
|
|
|
@ -215,12 +215,10 @@ rm -rf "$PYDIR"/site-packages/PyQt5/Qt.so
|
|
|
|
|
|
|
|
|
|
# these are deleted as they were not deterministic; and are not needed anyway |
|
|
|
|
find "$APPDIR" -path '*/__pycache__*' -delete |
|
|
|
|
# note that *.dist-info is needed by certain packages. |
|
|
|
|
# e.g. see https://gitlab.com/python-devs/importlib_metadata/issues/71 |
|
|
|
|
for f in "$PYDIR"/site-packages/importlib_metadata-*.dist-info; do mv "$f" "$(echo "$f" | sed s/\.dist-info/\.dist-info2/)"; done |
|
|
|
|
# although note that *.dist-info might be needed by certain packages... |
|
|
|
|
# e.g. importlib-metadata, see https://gitlab.com/python-devs/importlib_metadata/issues/71 |
|
|
|
|
rm -rf "$PYDIR"/site-packages/*.dist-info/ |
|
|
|
|
rm -rf "$PYDIR"/site-packages/*.egg-info/ |
|
|
|
|
for f in "$PYDIR"/site-packages/importlib_metadata-*.dist-info2; do mv "$f" "$(echo "$f" | sed s/\.dist-info2/\.dist-info/)"; done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} + |
|
|
|
|
|