2

I create application on wxPython for MS Windows. It's a port of native OS X application I made before. In OS X application autoupdate of application is gracefully serving with Sparkle Framework. (It detects application updates by reading appcast.xml stored on server, then does all update specific magic, checking signatures etc.) Are any similar solutions exist for wxPython/Windows development? Do you need such port to integrate it into wxPython?

4

2 回答 2

3

wx.lib.softwareupdate

使用 Esky 的 mixin 类,允许冻结的应用程序在新版本的软件可用时自行更新。

该模块提供了一个类,旨在与 wx.App 混合形成一个派生类,该派生类能够在新版本发布时自动更新应用程序。它建立在 Esky 包之上,在 PyPi 中可从 http://pypi.python.org/pypi/esky获得。

为了使软件更新工作,必须使用 bdist_esky distutils 命令将应用程序放入 esky 包中,该命令又将使用 py2app、py2exe 等来冻结实际应用程序。有关更多详细信息,请参阅 Esky 的文档。此模块中的代码只有在应用程序被冻结时才会生效,否则会被忽略。

于 2014-02-04T23:51:10.393 回答
0

你可以看看WinSparkle——它是在 wxWindows 之上的用于 Windows 的 Sparkle 想法的“端口”。将它绑定到您的 wxPython 应用程序应该很容易(swig / ctypes)。

我有一段时间没有检查过 WinSparkle,但它似乎是活跃的,而且 IIRC,有很多具有增强下载支持/功能的分支。

于 2014-02-04T23:51:59.500 回答