- 帖子
- 9
- 精华
- 0
- 积分
- 50
- 阅读权限
- 20
- 注册时间
- 2020-2-19
- 最后登录
- 2020-4-29
|
miting 发表于 2020-2-26 14:24
好的!谢谢老师
我这两天没上网站 。已经解决了,就是按照他的提示弄了一个setup.py
类似这种from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [], excludes = [])
import sys
base = 'Win32GUI' if sys.platform=='win32' else None
executables = [
Executable('py_game.py', base=base, targetName = 'tq')
]
setup(name='wsc',
version = '0.1',
description = 'wscVScxk',
options = dict(build_exe = buildOptions),
executables = executables) |
|