mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-15 04:40:40 -07:00
Enhance PyInstaller build by excluding additional unnecessary modules
- Added exclusions for 'torch.utils.tensorboard', 'scipy', 'PIL', 'tkinter', 'unittest', and 'test' to reduce bundle size and improve build efficiency.
This commit is contained in:
@@ -36,6 +36,12 @@ def build_server():
|
||||
'--exclude-module', 'torch.distributions',
|
||||
'--exclude-module', 'torch.testing',
|
||||
'--exclude-module', 'tensorboard',
|
||||
'--exclude-module', 'torch.utils.tensorboard',
|
||||
'--exclude-module', 'scipy',
|
||||
'--exclude-module', 'PIL',
|
||||
'--exclude-module', 'tkinter',
|
||||
'--exclude-module', 'unittest',
|
||||
'--exclude-module', 'test',
|
||||
])
|
||||
|
||||
# Add hidden imports
|
||||
|
||||
Reference in New Issue
Block a user