-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.py
More file actions
16 lines (13 loc) · 700 Bytes
/
build.py
File metadata and controls
16 lines (13 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import PyInstaller.__main__
import os
print("Starting compilation of Math Viz Applet...")
PyInstaller.__main__.run([
'main.py', # Main script
'--name=Math_Viz_Multi_Applet', # Name of the executable output
'--windowed', # Don't open a console window when the app runs
'--onefile', # Compresses everything into a single transportable file
'--noconfirm', # Overwrite existing build folders
'--hidden-import=numpy',
'--hidden-import=matplotlib',
])
print("\nBuild Complete! You can find the executable inside the 'dist/Math_Viz_Multi_Applet' folder.")