generated from zhangwei/Train_Identify
72 lines
1.3 KiB
Python
72 lines
1.3 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
a = Analysis(
|
|
['app.py'],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[],
|
|
hiddenimports=[
|
|
'engineio.async_drivers.eventlet',
|
|
'eventlet.hubs.epolls',
|
|
'eventlet.hubs.kqueue',
|
|
'eventlet.hubs.selects',
|
|
'dns',
|
|
'dns.dnssec',
|
|
'dns.e164',
|
|
'dns.hash',
|
|
'dns.namedict',
|
|
'dns.tsigkeyring',
|
|
'dns.update',
|
|
'dns.version',
|
|
'dns.zone',
|
|
'dns.asyncbackend',
|
|
'dns.asyncquery',
|
|
'dns.asyncresolver',
|
|
'dns.versioned',
|
|
'socketserver',
|
|
'http.server'
|
|
],
|
|
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,
|
|
[],
|
|
exclude_binaries=True,
|
|
name='VMiddleware',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
console=True,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
icon=['logo.png'],
|
|
)
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
name='VMiddleware',
|
|
)
|