45 lines
1.7 KiB
Python
45 lines
1.7 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
|
|
a = Analysis(
|
|
['main.py'],
|
|
pathex=[],
|
|
binaries=[('Utils/PythonNew32/SaiNiuApi.dll', 'Utils/PythonNew32'), ('Utils/PythonNew32/SaiNiuSys.dll', 'Utils/PythonNew32'), ('Utils/PythonNew32/SaiNiuServer.dll', 'Utils/PythonNew32'), ('Utils/PythonNew32/python32.exe', 'Utils/PythonNew32'), ('Utils/PythonNew32/python313.dll', 'Utils/PythonNew32'), ('Utils/PythonNew32/vcruntime140.dll', 'Utils/PythonNew32')],
|
|
datas=[('config.py', '.'), ('exe_file_logger.py', '.'), ('windows_taskbar_fix.py', '.'), ('Utils/PythonNew32', 'Utils/PythonNew32'), ('Utils/JD', 'Utils/JD'), ('Utils/Dy', 'Utils/Dy'), ('Utils/Pdd', 'Utils/Pdd'), ('Utils/QianNiu', 'Utils/QianNiu'), ('Utils/message_models.py', 'Utils'), ('Utils/__init__.py', 'Utils'), ('WebSocket', 'WebSocket'), ('static', 'static')],
|
|
hiddenimports=['PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWidgets', 'websockets', 'asyncio', 'Utils.QianNiu.QianNiuUtils', 'Utils.JD.JdUtils', 'Utils.Dy.DyUtils', 'Utils.Pdd.PddUtils', 'WebSocket.backend_singleton', 'WebSocket.BackendClient', 'windows_taskbar_fix'],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
[],
|
|
exclude_binaries=True,
|
|
name='main',
|
|
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,
|
|
)
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
name='main',
|
|
)
|