Skip to content

Commit edfdfa1

Browse files
committed
Explicitly exclude setuptools from build. Saving 1MB
1 parent 44a4c15 commit edfdfa1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"editor.defaultFormatter": "redhat.vscode-yaml"
6161
},
6262
"yaml.format.printWidth": 100,
63+
"yaml.schemas": {
64+
"https://json.schemastore.org/github-issue-config.json": ".github/ISSUE_TEMPLATE/config.yml"
65+
},
6366
"[python]": {
6467
"editor.defaultFormatter": "charliermarsh.ruff",
6568
"editor.tabSize": 4,

scripts/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $arguments = @(
77
'--additional-hooks-dir=Pyinstaller/hooks',
88
'--icon=res/icon.ico',
99
'--splash=res/splash.png',
10+
'--exclude=setuptools',
1011
# The install script should ensure that these are not installed
1112
# But we'll still include unused dependencies that would be picked up by PyInstaller
1213
# if requirements.txt was used directly to help ensure consistency when building locally.

0 commit comments

Comments
 (0)