BodyBalanceEvaluation/backend/app.spec

103 lines
2.4 KiB
RPMSpec
Raw Normal View History

2025-08-13 14:17:50 +08:00
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['app.py'],
pathex=[],
binaries=[
('dll/femtobolt/bin/k4a.dll', '.'), # K4A动态库
('dll/femtobolt/bin/k4arecord.dll', '.'), # K4A录制库
('dll/femtobolt/bin/depthengine_2_0.dll', '.'), # 深度引擎
('dll/femtobolt/bin/OrbbecSDK.dll', '.'), # Orbbec SDK
('dll/femtobolt/bin/ob_usb.dll', '.'), # Orbbec USB库
('dll/femtobolt/bin/live555.dll', '.'), # Live555库
('dll/smitsense/SMiTSenseUsb-F3.0.dll', '.'), # SMiTSense传感器库
('dll/femtobolt/bin/OrbbecSDKConfig_v1.0.xml', '.'), # Orbbec配置文件
],
datas=[
('config.ini', '.'), # 配置文件
('data', 'data'), # 数据文件夹
],
hiddenimports=[
'flask',
'flask_socketio',
'flask_cors',
'cv2',
'numpy',
'pandas',
'scipy',
'matplotlib',
'seaborn',
'sklearn',
'PIL',
'reportlab',
'sqlite3',
'configparser',
'logging',
'threading',
'queue',
'base64',
'psutil',
'pykinect_azure',
'pyserial',
'requests',
'yaml',
'click',
'colorama',
'tqdm',
'database',
'device_manager',
'utils',
'eventlet',
'socketio',
'engineio',
'engineio.async_drivers.threading',
'engineio.async_drivers.eventlet',
'engineio.async_eventlet',
'socketio.async_eventlet',
'greenlet',
'gevent',
'gevent.socket',
'gevent.select',
'dns',
'dns.resolver',
'dns.reversename',
'dns.e164',
],
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,
[],
2025-08-15 10:12:38 +08:00
name='BodyBalanceBackend',
2025-08-13 14:17:50 +08:00
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=None
)