我要从setup.py创建一个Linux安装程序。我已经从我的setup.py文件中创建了一个.msi文件,以下是代码:
import cx_Freeze
executables = [cx_Freeze.Executable("Slither.py")]
cx_Freeze.setup(
name="Slytherine",
options = {
"build_exe": {
"packages":["pygame"],
"include_files": ["apple.png", "snake_head.png", "Score.dll"]
}
},
description = "Snake game",
executables = executables
)
为了制作Linux安装程序,需要做哪些更改?或者我必须在Linux机器上构建它吗?