2024-03-15 16:55:53 +03:00
|
|
|
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
a = Analysis(
|
2024-04-06 11:47:43 +03:00
|
|
|
['main.py'],
|
2024-03-15 16:55:53 +03:00
|
|
|
pathex=[],
|
|
|
|
binaries=[],
|
|
|
|
datas=[],
|
2024-04-06 11:47:43 +03:00
|
|
|
hiddenimports=['plyer.platforms.linux.filechooser', 'plyer.platforms.win.filechooser'],
|
2024-03-15 16:55:53 +03:00
|
|
|
hookspath=[],
|
|
|
|
hooksconfig={},
|
|
|
|
runtime_hooks=[],
|
|
|
|
excludes=[],
|
|
|
|
noarchive=False,
|
|
|
|
)
|
2024-04-09 20:19:33 +03:00
|
|
|
pyz = PYZ(a.pure)
|
2024-03-15 16:55:53 +03:00
|
|
|
|
|
|
|
exe = EXE(
|
|
|
|
pyz,
|
|
|
|
a.scripts,
|
|
|
|
[],
|
2024-04-09 20:19:33 +03:00
|
|
|
exclude_binaries=True,
|
2024-04-06 11:47:43 +03:00
|
|
|
name='g4f',
|
2024-03-15 16:55:53 +03:00
|
|
|
debug=False,
|
|
|
|
bootloader_ignore_signals=False,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
2024-04-09 20:19:33 +03:00
|
|
|
console=True,
|
2024-03-15 16:55:53 +03:00
|
|
|
disable_windowed_traceback=False,
|
|
|
|
argv_emulation=False,
|
|
|
|
target_arch=None,
|
|
|
|
codesign_identity=None,
|
|
|
|
entitlements_file=None,
|
2024-04-06 11:47:43 +03:00
|
|
|
icon='icon.ico',
|
2024-03-15 16:55:53 +03:00
|
|
|
)
|
2024-04-09 20:19:33 +03:00
|
|
|
coll = COLLECT(
|
|
|
|
exe,
|
|
|
|
a.binaries,
|
|
|
|
Tree('//host.lan/Data/g4f/gui/client', prefix='client'),
|
|
|
|
a.datas,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
upx_exclude=[],
|
|
|
|
name='g4f',
|
|
|
|
)
|