Skip to content

Commit

Permalink
Add hidden imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Dec 16, 2023
1 parent 3ccd522 commit e0d8da8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions toltecmk.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# -*- mode: python ; coding: utf-8 -*-

import toltec.hooks

a = Analysis(
['toltec/__main__.py'],
["toltec/__main__.py"],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hiddenimports=[f"toltec.hooks.{x}" for x in toltec.hooks.__all__],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand All @@ -21,7 +22,7 @@ exe = EXE(
a.binaries,
a.datas,
[],
name='toltecmk',
name="toltecmk",
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand Down

0 comments on commit e0d8da8

Please sign in to comment.