Skip to content

Commit

Permalink
Fix server compilation by adding hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuizur committed Aug 16, 2023
1 parent aaa781b commit 14e1bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions russian_text_stresser/hook-litestar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from PyInstaller.utils.hooks import collect_submodules
hiddenimports = collect_submodules('litestar.logging')
2 changes: 1 addition & 1 deletion russian_text_stresser/merged.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ b_a = Analysis(
binaries=[],
datas=[(pymorph_data, 'pymorphy2_dicts_ru/data'), ('ru_core_news_sm-3.6.0', 'russian_text_stresser/ru_core_news_sm-3.6.0')],
hiddenimports=[],
hookspath=[],
hookspath=['.'],
hooksconfig={},
runtime_hooks=[],
excludes=[],
Expand Down

0 comments on commit 14e1bda

Please sign in to comment.