59 lines
1.1 KiB
Python
59 lines
1.1 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
import sys
|
|
sys.setrecursionlimit(sys.getrecursionlimit() * 5)
|
|
|
|
a = Analysis(
|
|
['main.py'],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[
|
|
('default_config.yaml', '.'),
|
|
('config1.yaml', '.'),
|
|
('gui', 'gui'),
|
|
('core', 'core'),
|
|
('utils', 'utils'),
|
|
('config', 'config'),
|
|
('hardware', 'hardware'),
|
|
],
|
|
hiddenimports=[
|
|
'customtkinter',
|
|
'PIL',
|
|
'PIL._tkinter_finder',
|
|
'numpy',
|
|
'matplotlib',
|
|
'matplotlib.backends.backend_tkagg',
|
|
'yaml',
|
|
],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.datas,
|
|
[],
|
|
name='探测器信号模拟器',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
runtime_tmpdir=None,
|
|
console=False,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
icon=None,
|
|
)
|