Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
fda769d4 by wurstsalat at 2025-08-31T19:10:09+02:00
perf: Windows: Don't byte-compile Python files
Performance is degraded when shipping byte-compiling files.
Instead, ship Python files directly.
- - - - -
1 changed file:
- win/_base.sh
Changes:
=====================================
win/_base.sh
=====================================
@@ -313,13 +313,8 @@ function cleanup_install {
find "${MINGW_ROOT}" -name "*.sh" -exec rm -f {} \;
find "${MINGW_ROOT}" -name "*.whl" -exec rm -f {} \;
- # Byte-compile Python files and clean up afterwards
- echo "Byte-compile Python files"
- build_compileall -q "${MINGW_ROOT}"
-
find "${MINGW_ROOT}" -type d -name "__pycache__" -prune -exec rm -rf {} \;
find "${MINGW_ROOT}"/bin -name "*.pyc" -exec rm -f {} \;
- find "${MINGW_ROOT}" -name "*.py" ! -name "*theme.py" -exec rm -f {} \;
echo "Run depcheck.py"
build_python "${MISC}/depcheck.py"
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/fda769d4b2af13b9c98e324463bec2778687bb7b
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/fda769d4b2af13b9c98e324463bec2778687bb7b
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]