分发 Ruby/Python 桌面应用程序 [英] Distributing Ruby/Python desktop apps
问题描述
除了 Shoes 之外,还有什么方法可以开发和分发用 Ruby 编写的跨平台 GUI 桌面应用程序吗?
Is there any way besides Shoes to develop and distribute cross-platform GUI desktop applications written in Ruby?
我开始相信 _why 应用程序的一般错误对于鞋类来说是异常严重的,并且任何比两键表单更复杂的东西都很难维护.
I come to believe that general bugginess of _why's applications is exceptionally crippling in case of Shoes, and anything more complex than a two-button form is a pain to maintain.
RubyGTK、wxRuby 等似乎很有前途,但它们并没有解决以不需要在用户计算机上预安装 Ruby 的方式分发应用程序的问题——像 ruby2exe 这样的库似乎很糟糕-最新且不完整.
RubyGTK, wxRuby, etc seem to be promising, but they do not solve the issue of distributing an app in a way that doesn't require Ruby pre-installed on users' computers — and libraries like ruby2exe seem to be horribly out-of-date and incomplete.
一般——当前的流行趋势是什么?
Generally — what is the current fad?
顺便说一句:如果在 Python 中有一个非常简单的解决方案,我可能会考虑重做我在 Python 中所做的事情.
BTW: if there is a really easy solution to this in Python, I may consider redoing the stuff I'm up to in Python.
推荐答案
我不知道 ruby2exe,但 py2exe 工作得很好.即使使用像 wxWidgets 这样的库.编辑:您甚至不必要求用户安装 wxWidgets,它与应用程序捆绑在一起(py2app 也是如此)
I don't know about ruby2exe, but py2exe works perfeclty fine. Even with librairies like wxWidgets. Edit: you don't even have to ask the user to install wxWidgets, it's bundled with the app (same goes for py2app)
我将它用于我的非常小的项目这里.
I use it for my very small project here.
对于 Mac 用户,py2app 也可以与 wxWidgets 配合使用.
For the Mac crowd, py2app works fine too with wxWidgets.
这篇关于分发 Ruby/Python 桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!