Resolve resource and data paths when frozen #57

Closed
opened 2026-10-14 18:17:55 +02:00 by Tirsvad · 0 comments
Owner

The images are found under sys._MEIPASS and the default data folder is data/ next to the executable when sys.frozen is set; the source run keeps its paths. The rule is one function used by constants.py, tested by simulating the frozen state.

Phase: MIL-009
Reference: US-001.07

The images are found under `sys._MEIPASS` and the default data folder is `data/` next to the executable when `sys.frozen` is set; the source run keeps its paths. The rule is one function used by `constants.py`, tested by simulating the frozen state. Phase: MIL-009 Reference: US-001.07
Tirsvad added this to the MIL-009: Executable with PyInstaller milestone 2026-10-14 18:17:55 +02:00
Sign in to join this conversation.
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#57