Files
Inv_web/client_agent_windows_onefile.spec
2026-03-19 23:27:22 +03:00

52 lines
1.1 KiB
Python

# -*- mode: python ; coding: utf-8 -*-
import os
block_cipher = None
project_root = (
os.path.abspath(os.path.dirname(__file__))
if "__file__" in globals()
else os.path.abspath(os.getcwd())
)
a = Analysis(
["client_agent.py"],
pathex=[project_root],
binaries=[],
datas=[(os.path.join(project_root, "picture", "ICON", "clientICO.ico"), "picture/ICON")],
hiddenimports=[],
hookspath=[],
hooksconfig={},
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,
a.binaries,
a.zipfiles,
a.datas,
[],
name="inventory_client_agent",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=os.path.join(project_root, "picture", "ICON", "clientICO.ico"),
)