【发布时间】:2013-08-31 15:18:58
【问题描述】:
我有一个用 python 编写并使用py2exe 打包的 GUI 程序。我现在想使用Esky 来允许自动更新。
但是,当我运行python setup.py bdist_esky 时,我收到以下错误:
RuntimeError: don't call setup(windows=[...]) with esky; use setup(scripts=[...]) instead
当更改为scripts 时,我收到以下错误:
TypeError: Must specify name if script is not a file
我无法摆脱它。有什么帮助吗?
(setup.py:http://pastebin.com/B3yGJERq)
【问题讨论】:
标签: python python-2.7 py2exe distutils esky