Philipp Hörist pushed to branch windows-fix at gajim / gajim
Commits:
b6580c6e by Philipp Hörist at 2026-06-27T10:13:06+02:00
compile byte code
- - - - -
7877efc7 by Philipp Hörist at 2026-06-27T10:16:16+02:00
asd
- - - - -
2 changed files:
- win/_base.sh
- win/misc/create_launcher.py
Changes:
=====================================
win/_base.sh
=====================================
@@ -97,7 +97,7 @@ function build_python {
}
function build_compileall {
- build_python -m compileall -b "$@"
+ build_python -m compileall -q -f "$@"
}
function install_pre_deps {
@@ -320,9 +320,9 @@ function cleanup_install {
# Byte-compile Python files and clean up afterwards
echo "Byte-compile Python files"
- build_compileall -q "${MINGW_ROOT}"
+ build_compileall "${MINGW_ROOT}"
- find "${MINGW_ROOT}" -type d -name "__pycache__" -prune -exec rm -rf {} \;
+ # find "${MINGW_ROOT}" -type d -name "__pycache__" -prune -exec rm -rf {}
\;
find "${MINGW_ROOT}"/bin -name "*.pyc" -exec rm -f {} \;
echo "Run depcheck.py"
=====================================
win/misc/create_launcher.py
=====================================
@@ -112,7 +112,6 @@ def get_launcher_code(*, debug: bool) -> str:
Py_NoUserSiteDirectory = 1;
Py_IgnoreEnvironmentFlag = 1;
- Py_DontWriteBytecodeFlag = 1;
Py_FrozenFlag = 1;
Py_Initialize();
PySys_SetArgvEx(__argc, szArglist, 0);
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/8c5e8deac62ee240c539cf5481fe4512fabc0174...7877efc7bf9c78f25b2d0898dc57547a8a05a052
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/8c5e8deac62ee240c539cf5481fe4512fabc0174...7877efc7bf9c78f25b2d0898dc57547a8a05a052
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]