Commit 8b8717f
committed
fix(build): use collect_submodules for auto-including all packages
Instead of manually listing 35+ modules, use PyInstaller's
collect_submodules() to automatically include ALL submodules:
- excel_to_sql: auto_pilot, sdk, entities, validators, etc.
- wareflow_analysis: cli, init, data_import, analyze, export, etc.
Benefits:
- Simpler: 2 lines instead of 35+
- More robust: Automatically includes new modules
- Future-proof: No need to update when packages change
- Fixes: All ImportError issues from missing submodules
This is the CORRECT approach - include everything automatically
instead of manually listing modules.
Fixes: 'excel-to-sql>=0.3.0 is required' and all similar errors1 parent 66b07c4 commit 8b8717f
1 file changed
Lines changed: 11 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
76 | | - | |
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 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
103 | 86 | | |
104 | 87 | | |
105 | 88 | | |
| |||
0 commit comments