我有一个小型python应用程序,我想向cx_Freeze生成的MSI包中添加GNU GPL许可证文本。我使用带有bdist_msi选项的此安装脚本:import sysfrom cx_Freeze import setup, Executablepath = sys.path + ["app"]build_exe_options = {"path": path,"icon": "resources\icons\clock.ico"}base = Noneif 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")])我怎样才能做到这一点?
添加回答
举报
0/150
提交
取消