MIL-009: Executable with PyInstaller #64

Merged
Tirsvad merged 2 commits from mil-009-executable into main 2026-10-14 18:32:38 +02:00
Owner

MIL-009 Executable with PyInstaller: python tools/build_executable.py builds dist/flash-card.exe (one file, no console, icon, images and word list inside, speech packages collected). When frozen the images and the embedded word list come from the bundle and the progress is written to data/ next to the executable; a data/ms-da.csv next to it wins. PyInstaller is only in the extra build; the executable is not committed.

Also in this pull request: the level screen now sets the window title, padding and background (found by the smoke test: it showed the default title "tk").

Smoke test of the real executable (not part of pytest): starts without the venv, window "Flashy", progress file beside it, list override, images visible.

Checks in the project .venv: pytest 216 passed (3 runs), ruff check, ruff format --check, mypy --strict, lint-imports, doxygen Doxyfile (0 warnings), check-readme.sh.

Review record RC-048: Go (autonomous mode, not independent).

Closes #56
Closes #57
Closes #58
Closes #59
Closes #60
Closes #61
Closes #62
Closes #63

MIL-009 Executable with PyInstaller: `python tools/build_executable.py` builds `dist/flash-card.exe` (one file, no console, icon, images and word list inside, speech packages collected). When frozen the images and the embedded word list come from the bundle and the progress is written to `data/` next to the executable; a `data/ms-da.csv` next to it wins. PyInstaller is only in the extra `build`; the executable is not committed. Also in this pull request: the level screen now sets the window title, padding and background (found by the smoke test: it showed the default title "tk"). Smoke test of the real executable (not part of pytest): starts without the venv, window "Flashy", progress file beside it, list override, images visible. Checks in the project `.venv`: `pytest` 216 passed (3 runs), `ruff check`, `ruff format --check`, `mypy --strict`, `lint-imports`, `doxygen Doxyfile` (0 warnings), `check-readme.sh`. Review record RC-048: Go (autonomous mode, not independent). Closes #56 Closes #57 Closes #58 Closes #59 Closes #60 Closes #61 Closes #62 Closes #63
Tirsvad added 2 commits 2026-10-14 18:32:36 +02:00
Review record RC-048 (Go, autonomous mode, not independent).

Task: MIL-009#1
Task: MIL-009#2
Task: MIL-009#3
Task: MIL-009#4
Task: MIL-009#5
Task: MIL-009#6
Task: MIL-009#7
Task: MIL-009#8
Tirsvad merged commit 7bf6d5804b into main 2026-10-14 18:32:38 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/031-flash-card#64