python类Executable()的实例源码

main.py 文件源码 项目:cx_Freeze 作者: anthony-tuininga 项目源码 文件源码 阅读 21 收藏 0 点赞 0 评论 0
def main():
    options = ParseCommandLine()
    executables = [cx_Freeze.Executable(options.script,
                                        initScript = options.initScript,
                                        base = options.baseName,
                                        icon = options.icon,
                                        targetName = options.targetName)
                  ]
    freezer = cx_Freeze.Freezer(executables,
            includes = options.includeModules,
            excludes = options.excludeModules,
            replacePaths = options.replacePaths,
            compress = options.compress,
            optimizeFlag = options.optimized,
            path = None,
            targetDir = options.targetDir,
            zipIncludes = options.zipIncludes,
            silent = options.silent)
    freezer.Freeze()


问题


面经


文章

微信
公众号

扫码关注公众号