我有很大的GUI应用程序包含很多库,比如PyQT4,matplotlib,pandas等... 我已经使用cx_Freeze使其可执行,一切顺利。 打开.exe后,它什么也没做 请参阅我的setup.py文件。
import sys
from cx_Freeze import setup, Executable
packages = ['pyhdb','paramiko','sshtail','smtplib','pandas','email','xml']
include_files = ["Models","Views", "Controllers","images","graphs","green.png","red.png","files", "resource_rc.py"]
excludes=["tkinter"]
base = 'Win32GUI' if sys.platform=='win32' else None
setup(
name="DMO App",
version="1.0",
description="Dmo App",
options={"build_exe":{"packages":packages,"include_files":include_files}},
executables=[Executable("main.py",base=base)]
)
有什么建议是什么问题?
谢谢, 阿尔曼