Skip to content

Commit

Permalink
Use equivalent of --onefile for the spec file (#203)
Browse files Browse the repository at this point in the history
That creates a single executable file instead of a dir (win) and ~halves the size of the mac executable.
  • Loading branch information
mgorzel authored and ascherkus committed Jul 26, 2018
1 parent 8e20a1c commit 0069238
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions spatialmedia/spatial_media_metadata_injector.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,17 @@ pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
a.binaries,
a.zipfiles,
a.datas,
name='Spatial Media Metadata Injector',
debug=False,
strip=False,
upx=True,
console=False)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='Spatial Media Metadata Injector')
console=False )
if sys.platform == 'darwin':
app = BUNDLE(coll,
app = BUNDLE(exe,
name='Spatial Media Metadata Injector.app',
icon=None,
bundle_identifier=None,
info_plist={'NSHighResolutionCapable': 'True'})

0 comments on commit 0069238

Please sign in to comment.