I wonder when we write a program in PHP, Ruby, or Python, how do we make it easily downloadable and installable by general users like a Win32 app?
and is it possible to make it a Mac app easily too?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ruby
RubyScript2Exe
There’s also a decent blog post about it
Another possible option is the Shoes GUI framework, which can create Widows, Linux and OS X executables from your Shoes application.
Python
py2exe
PHP
Bambalam PHP EXE Compiler/Embedder
and is it possible to make it a Mac app easily too?
Py2App
Also, there is a utility “Build Applet” included with the Developer Tools.. Drag-and-drop a Python script on to it and it becomes a
.app. The utility is in/Developer/Applications/Utilities/MacPython 2.5/Note, all of the above basically take your script, package it up along with a Python interpreter and any dependancies, and on launch run your script. If you use a GUI platform that does not work on Windows, running it through Py2EXE will not make it work!
Also as Peter D mentioned, you need to be careful about dependancies – if your application requires a MySQL database, your users will have to install that separately to use your application, and every library you use will add size to your executables.