Commit 66b07c4
committed
fix(build): add all wareflow_analysis modules to hiddenimports
The GUI uses CliRunner to invoke CLI commands (like 'wareflow init'),
which imports many wareflow_analysis modules dynamically. PyInstaller
doesn't detect these dynamic imports, causing ImportError at runtime.
Added all wareflow_analysis modules to hiddenimports:
- cli, init, data_import (and submodules)
- validation, analyze, export (and submodules)
- database, common (and submodules)
This ensures all modules are bundled in the executable, preventing
ImportError when using project creation and other CLI features from
the GUI.
Fixes: excel-to-sql>=0.3.0 is required error when creating new projects1 parent ec209e0 commit 66b07c4
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
78 | 103 | | |
79 | 104 | | |
80 | 105 | | |
| |||
0 commit comments