mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Add pyinstaller bundle support
Will allow creating generating pre-made builds for windows that do not require python to be already installed.
This commit is contained in:
33
bundle/EntranceRandomizer.spec
Normal file
33
bundle/EntranceRandomizer.spec
Normal file
@@ -0,0 +1,33 @@
|
||||
# -*- mode: python -*-
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(['..\\EntranceRandomizer.py'],
|
||||
pathex=['bundle'],
|
||||
binaries=[],
|
||||
datas=[('../data/', 'data/'), ('../README.html', '.'), ('../LICENSE.txt', '.')],
|
||||
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)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
exclude_binaries=True,
|
||||
name='EntranceRandomizer',
|
||||
debug=False,
|
||||
strip=False,
|
||||
upx=False,
|
||||
console=True )
|
||||
coll = COLLECT(exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=False,
|
||||
name='EntranceRandomizer')
|
||||
Reference in New Issue
Block a user