Skip to content

Bundle unidic_lite data files in PyInstaller spec#75

Merged
thomaswantstobeaskeleton merged 1 commit intomainfrom
codex/fix-oserror-loading-vocabulary
Apr 30, 2026
Merged

Bundle unidic_lite data files in PyInstaller spec#75
thomaswantstobeaskeleton merged 1 commit intomainfrom
codex/fix-oserror-loading-vocabulary

Conversation

@thomaswantstobeaskeleton
Copy link
Copy Markdown
Owner

Motivation

  • Ensure the unidic_lite tokenizer dictionary assets (e.g. dicdir/version) are included in the frozen application so tokenization (used by manga_ocr and related code) works after packaging.

Description

  • Import collect_data_files from PyInstaller.utils.hooks and extend datas with collect_data_files('unidic_lite'), and add a short comment explaining the addition.

Testing

  • Built the PyInstaller bundle using the updated launch.spec and verified that the unidic_lite data files were included in the generated distribution (build succeeded).

Codex Task

@thomaswantstobeaskeleton thomaswantstobeaskeleton merged commit 3969920 into main Apr 30, 2026
3 of 4 checks passed
@thomaswantstobeaskeleton thomaswantstobeaskeleton deleted the codex/fix-oserror-loading-vocabulary branch April 30, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant