cx_freeze 发布 python3 安装文件

cx_freeze issue python3 setup file

如何将 {'include_files':includefiles} 添加到下面的选项字段? 我得到的只是 python.

中的一个错误
from cx_Freeze import setup, Executable as cxExecutable
import platform
import sys


# -*- coding: utf-8 -*-

base = None
if sys.platform == 'win32':
    base = 'Win32GUI'

build_exe_options = {
"include_msvcr": True
}


WIN_Target = cxExecutable(
    script='PlayTubeInstaller.pyw',
    base=base,
#    if sys.platform == 'win32': base = 'Win32GUI'
    icon="Icon.ico"
)



includefiles = [ 'Icon.ico' , 'PlayTube.ipa' , 'libmobiledevice/' ]

setup(
    name = 'Installer',
    version = '0.1',
    description = 'A general enhancement utility',
    author = 'Steve Jobs',
    options = {'build_exe': build_exe_options},
    executables=[WIN_Target]
)
build_exe_options = {
"include_msvcr": True,
"includes": [ 'Icon.ico' , 'PlayTube.ipa' , 'libmobiledevice/' ],
}