Skip to content

Commit 1197bb8

Browse files
committed
Explicitly exclude setuptools/pkg_resources from build (saving 1.2MB)
1 parent 4e08ef5 commit 1197bb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: scripts/build.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ $arguments = @(
77
'--additional-hooks-dir=Pyinstaller/hooks',
88
'--icon=res/icon.ico',
99
'--splash=res/splash.png',
10+
'--exclude=pkg_resources',
11+
'--exclude=setuptools',
1012
# The install script should ensure that these are not installed
1113
# But we'll still include unused dependencies that would be picked up by PyInstaller
1214
# if requirements.txt was used directly to help ensure consistency when building locally.

0 commit comments

Comments
 (0)