a7288a94cc
Multiplatform pyinstaller dist (#98)
38 lines
1.0 KiB
Python
38 lines
1.0 KiB
Python
# -*- mode: python -*-
|
|
|
|
block_cipher = None
|
|
|
|
|
|
a = Analysis(['comictagger.py'],
|
|
binaries=[('./unrar/libunrar.so', './')],
|
|
datas=[('comictaggerlib/ui/*.ui', 'ui'), ('comictaggerlib/graphics', 'graphics')],
|
|
hiddenimports=['PIL'],
|
|
hookspath=[],
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
win_no_prefer_redirects=False,
|
|
win_private_assemblies=False,
|
|
cipher=block_cipher)
|
|
pyz = PYZ(a.pure, a.zipped_data,
|
|
cipher=block_cipher)
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
# single file setup
|
|
exclude_binaries=False,
|
|
name='comictagger',
|
|
debug=False,
|
|
strip=False,
|
|
upx=True,
|
|
console=False,
|
|
icon="windows/app.ico" )
|
|
|
|
app = BUNDLE(exe,
|
|
name='ComicTagger.app',
|
|
icon='mac/app.icns',
|
|
info_plist={
|
|
'NSHighResolutionCapable': 'True'
|
|
},
|
|
bundle_identifier=None) |