mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
final and buildnumber are optional files. Move them into resources to avoid naming them explicitly.
50 lines
929 B
Python
50 lines
929 B
Python
# -*- mode: python -*-
|
|
|
|
block_cipher = None
|
|
|
|
|
|
analysis = Analysis(
|
|
['./qt_ui/main.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',
|
|
)
|