54 lines
1.0 KiB
Python
54 lines
1.0 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
|
|
a = Analysis(
|
|
['main.py'],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[],
|
|
hiddenimports = [
|
|
'qasync',
|
|
'asyncio',
|
|
'aiopath',
|
|
'aiohttp',
|
|
'aiofiles',
|
|
'PySide6.QtWebEngineCore',
|
|
'PySide6.QtWebEngineWidgets'
|
|
],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=['tkinter', 'matplotlib', 'scipy', 'numpy', 'pandas',
|
|
'IPython', 'jupyter', 'PyQt5', 'PyQt6'],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
[],
|
|
exclude_binaries=True,
|
|
name='OxApp',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=False,
|
|
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=False,
|
|
upx_exclude=['vcruntime140.dll', 'libcrypto-1_1.dll', 'libssl-1_1.dll'],
|
|
name='OxApp',
|
|
)
|