@mytec: iter2.1 ready for testing

This commit is contained in:
2026-01-31 14:26:11 +02:00
parent cdbf0127bf
commit fa55fec94a
11 changed files with 780 additions and 1 deletions

View File

@@ -0,0 +1,67 @@
# -*- mode: python ; coding: utf-8 -*-
import sys
from pathlib import Path
block_cipher = None
backend_path = Path('../backend')
a = Analysis(
[str(backend_path / 'run_server.py')],
pathex=[str(backend_path)],
binaries=[],
datas=[
(str(backend_path / 'app'), 'app'),
],
hiddenimports=[
'uvicorn.logging',
'uvicorn.protocols.http',
'uvicorn.protocols.http.auto',
'uvicorn.protocols.http.h11_impl',
'uvicorn.protocols.websockets',
'uvicorn.protocols.websockets.auto',
'uvicorn.lifespan',
'uvicorn.lifespan.on',
'uvicorn.lifespan.off',
'httpx',
'h11',
'numpy',
'scipy',
'scipy.special',
'scipy.interpolate',
'aiosqlite',
'sqlalchemy',
'sqlalchemy.dialects.sqlite',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['tkinter', 'matplotlib', 'PIL', 'pandas', 'IPython'],
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='rfcp-server',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False, # No console window
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='../desktop/assets/icon.ico' if sys.platform == 'win32' else None,
)