Archipelago/bundle/EntranceRandomizer.spec

40 lines
1.2 KiB
RPMSpec
Raw Normal View History

# -*- mode: python -*-
2017-11-21 13:03:48 +00:00
from PyInstaller.compat import is_win
block_cipher = None
2017-11-21 13:03:48 +00:00
# Todo: the runtime hooks should only be installed on windows
a = Analysis(['../EntranceRandomizer.py'],
pathex=['bundle'],
binaries=[],
datas=[('../data/', 'data/'), ('../README.html', '.')],
hiddenimports=[],
hookspath=[],
runtime_hooks=['bundle/_rt_hook.py'],
excludes=['lzma', 'bz2'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
2017-11-21 13:03:48 +00:00
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='EntranceRandomizer',
debug=False,
strip=False,
upx=False,
icon='data/ER.ico',
2017-11-21 13:03:48 +00:00
console=is_win )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=False,
name='EntranceRandomizer')
2017-11-21 13:03:48 +00:00
app = BUNDLE(coll,
name ='EntranceRandomizer.app',
icon = 'data/ER.icns',
2017-11-21 13:03:48 +00:00
bundle_identifier = None)