Skip to content

Commit

Permalink
Explicitly exclude setuptools from build. Saving 1MB
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Feb 3, 2025
1 parent 44a4c15 commit edfdfa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"yaml.format.printWidth": 100,
"yaml.schemas": {
"https://json.schemastore.org/github-issue-config.json": ".github/ISSUE_TEMPLATE/config.yml"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.tabSize": 4,
Expand Down
1 change: 1 addition & 0 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $arguments = @(
'--additional-hooks-dir=Pyinstaller/hooks',
'--icon=res/icon.ico',
'--splash=res/splash.png',
'--exclude=setuptools',
# The install script should ensure that these are not installed
# But we'll still include unused dependencies that would be picked up by PyInstaller
# if requirements.txt was used directly to help ensure consistency when building locally.
Expand Down

0 comments on commit edfdfa1

Please sign in to comment.