1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import os a = Analysis(['src\\virtual_table.py'], pathex=[os.path.abspath('.')], hiddenimports=[], hookspath=None, runtime_hooks=None) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name='virtual_table.exe', debug=False, strip=None, upx=True, console=True , version='src\\version', icon='src\\icon.ico')