问题描述
因此,我正在制作一个游戏,并希望将图像文件包含在cxfreeze中,以便当我运行cxfreeze时,游戏将所有图像都放在某个地方。这是我的setup.py脚本:
import sys
from cx_Freeze import setup,Executable
build_exe_options = {"packages": ["os"]}
print("os")
print(build_exe_options)
base = None
if sys.platform == "win32":
base = "win32gui"
setup( name = (name),version = (version),description = (description),options = {"build_exe": build_exe_options},executables = [Executable((pyscript),base=base)])
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)