Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distributing Ruby/Python desktop apps

Is there any way besides Shoes to develop and distribute cross-platform GUI desktop applications written in Ruby?

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, 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?

BTW: if there is a really easy solution to this in Python, I may consider redoing the stuff I'm up to in Python.

like image 465
apostlion Avatar asked Jun 02 '09 15:06

apostlion


People also ask

Is Python suitable for desktop apps?

Yes! Python is frequently used for creating desktop applications and GUI (graphical user interface) apps. Python is great for backend web development, and is famous for being simple yet powerful.

Is Python good for desktop GUI?

Today we use this elegant programming language for data science, workflow integration, software development, etc. Python is fully capable of GUI development as well.

In which features of Python that is use for GUI desktop applications?

Tkinter. Tkinter is the most popular programming package for graphical user interface or desktop apps. It is so named because of its simplicity. Tkinter is the combination of Tk and Python's standard GUI framework.


2 Answers

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.

For the Mac crowd, py2app works fine too with wxWidgets.

like image 186
Loïc Wolff Avatar answered Oct 17 '22 08:10

Loïc Wolff


For Ruby, the One-Click Ruby Application Builder (OCRA) is emerging as the successor to RubyScript2Exe.

Ocra works with both Ruby 1.8.6 and 1.9.1, and with wxRuby. Supports LZMA compression for relatively compact executables.

like image 23
David Mullet Avatar answered Oct 17 '22 07:10

David Mullet