蟒蛇。生成exe

时间:2019-02-11 08:39:49

标签: python python-3.6 cx-freeze xmldiff

我正在尝试通过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")]
)

Error

可能是什么问题?

xmldiff软件包已安装 enter image description here

0 个答案:

没有答案