Skip to content

Commit

Permalink
reduce the pyinstaller binary size (for linux and mac)
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Oct 19, 2024
1 parent 726b455 commit 87a921d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__
jimmy.log
.cache
.obsidian
.venv
.version
build
dist
Expand Down
4 changes: 3 additions & 1 deletion jimmy_cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ exe = EXE(
name=executable_name,
debug=False,
bootloader_ignore_signals=False,
strip=False,
# Strip unneeded libs. Not recommended for windows.
# https://pyinstaller.org/en/stable/usage.html#cmdoption-s
strip=platform.system().lower() != "windows",
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
Expand Down

0 comments on commit 87a921d

Please sign in to comment.