mirror of
https://github.com/3minbe/DBC_Converter.git
synced 2026-05-17 01:23:58 +09:00
59 lines
1.3 KiB
Python
59 lines
1.3 KiB
Python
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
added_files = [("./img/*", './img'),
|
|
("./icon/*", './icon'),
|
|
("./icon.ico", '.'),
|
|
("./*.py", '.')]
|
|
|
|
a = Analysis(['DBC_Converter.py', 'DBC_Converter_Data_Parsing.py', 'DBC_Converter_Common.py', 'DBC_Converter_TX.py', 'DBC_Converter_RX.py'],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=added_files,
|
|
hiddenimports=[
|
|
'PyQt5',
|
|
'PyQt5.QtCore',
|
|
'PyQt5.QtGui',
|
|
'PyQt5.QtWidgets',
|
|
'PyQt5.QtPrintSupport',
|
|
'PyQt5.QtSvg',
|
|
'PyQt5.QtNetwork',
|
|
'PyQt5.QtWebEngineWidgets',
|
|
'PyQt5.QtWebEngineCore',
|
|
'PyQt5.QtWebChannel',
|
|
'PyQt5.QtWebSockets',
|
|
],
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
[],
|
|
exclude_binaries=True,
|
|
name='DBC Converter',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
runtime_tmpdir=None,
|
|
console=False,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
icon='./icon.ico'
|
|
)
|
|
|
|
coll = COLLECT(exe,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
name='DBC Converter'
|
|
) |