dcs_liberation/pyinstaller.spec
Wrycu 49795993f1
refactor(release): clean up release build process
* handle case where a dist has never been created
* ignore requirements.txt
* include map resources instead of pulling from submodule
2019-07-10 23:17:52 -07:00

50 lines
925 B
Python

# -*- mode: python -*-
block_cipher = None
analysis = Analysis(
['__init__.py'],
pathex=['.'],
binaries=[],
datas=[
('resources', 'resources'),
('resources/caucasus.p', 'dcs/terrain/'),
('resources/nevada.p', 'dcs/terrain/'),
],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(
analysis.pure,
analysis.zipped_data,
cipher=block_cipher,
)
exe = EXE(
pyz,
analysis.scripts,
[],
icon="resources/icon.ico",
exclude_binaries=True,
name='liberation_main',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
)
coll = COLLECT(
exe,
analysis.binaries,
analysis.zipfiles,
analysis.datas,
strip=False,
upx=True,
name='dcs_liberation',
)