deemix-gui-pyweb/deemix_gui.spec

40 lines
1.2 KiB
RPMSpec
Raw Normal View History

2020-05-15 15:58:27 +00:00
# -*- mode: python ; coding: utf-8 -*-
2020-05-25 14:56:58 +00:00
import deemix
from os.path import dirname
from sys import platform
2020-05-15 15:58:27 +00:00
block_cipher = None
2020-05-15 16:01:04 +00:00
a = Analysis(['deemix_gui.py'],
2020-05-15 15:58:27 +00:00
binaries=[],
2020-05-25 17:15:06 +00:00
datas=[('webui/public', 'webui/public'), (f'{dirname(deemix.__file__)}/app/default.json','deemix/app')],
2020-05-15 15:58:27 +00:00
hiddenimports=['engineio.async_drivers.threading', 'pkg_resources.py2_warn'],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
2020-05-15 16:05:42 +00:00
name='deemix_gui',
2020-05-15 15:58:27 +00:00
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
2020-05-25 14:56:58 +00:00
console=True, icon=f"icon.{'icns' if platform.startswith('darwin') else 'ico'}" )
2020-05-15 15:58:27 +00:00
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
2020-05-15 16:01:04 +00:00
name='deemix_gui')