我有一个小型python应用程序,我想向cx_Freeze生成的MSI包中添加GNU GPL许可证文本。
我使用带有bdist_msi选项的此安装脚本:
import sys
from cx_Freeze import setup, Executable
path = sys.path + ["app"]
build_exe_options = {
"path": path,
"icon": "resources\icons\clock.ico"}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "app",
version = "1.1",
description = "My Application",
options = {"build_exe": build_exe_options},
executables = [Executable("app.py", base=base,
targetName="app.exe",
shortcutName="Application",
shortcutDir="DesktopFolder")])
我怎样才能做到这一点?
相关分类