We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d30d5 commit 9d1104bCopy full SHA for 9d1104b
scripts/build.ps1
@@ -9,6 +9,7 @@ $arguments = @(
9
'--onefile',
10
'--windowed',
11
'--additional-hooks-dir=Pyinstaller/hooks',
12
+ '--optimize 2', # Remove asserts and docstrings for smaller build
13
'--icon=res/icon.ico')
14
if ($SupportsSplashScreen) {
15
# https://github.com/pyinstaller/pyinstaller/issues/9022
0 commit comments