我正在尝试通过cx_Freeze在exe中构建项目。 该项目使用xmldiff库,该库在组装后不希望工作。
#setup.py
import sys, os
from cx_Freeze import setup, Executable
__version__ = "0.1"
include_files = []
excludes = ["tkinter"]
packages = ["os", "idna", "requests", "json", "base64", "encodings", 'asyncio', 'xmldiff', 'appdirs']
includes = ['atexit', 'numpy.core._methods', 'numpy.lib.format', 'appdirs', 'xmldiff']
setup(
name = "Project",
description='Project',
version=__version__,
options = {
"build_exe": {
'packages': packages,
'include_files': include_files,
'excludes': excludes,
'include_msvcr': True,
'includes': includes,
}
},
executables = [Executable("designer.py", base="Win32GUI")]
)
可能是什么问题?