Files
Inv_web/Inventera_service_windows.spec
2026-07-28 20:39:14 +03:00

59 lines
1.2 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(
["inventera_windows_service.py"],
pathex=[project_root],
binaries=[],
datas=[],
hiddenimports=[
"pythoncom",
"pywintypes",
"servicemanager",
"win32event",
"win32service",
"win32serviceutil",
"win32timezone",
],
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="Inventera.Service",
icon=os.path.join(project_root, "picture", "logo", "main_logo.ico"),
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,
)