7

I have a project which is similar to DropBox. I need to automatically push certain folders up to S3 from both Windows and Mac machines. DropBox won't do exactly what I need so I can't really use it. Plus, I would like for this to be a neat learning experience in the joys of file synchronization. :-)

Anyway, after digging through the package contents of DropBox on my Mac, I noticed it appears that the DropBox client uses Python and not XCode? This is wonderful news if true because I would much prefer to use Python (or Ruby) over Objective-C. But I'm curious as to how they were able to bundle up Python it what appears to be a stand-alone "EXE" for the Mac? I don't see the actual .py files so I'm assuming it's some sort of compiled Python program?

If I wanted to do something similar, what steps would I need to take? In creating a stand-alone package that contains everything I need.

Can this also be done using Ruby?

ahsteele
  • 26,243
  • 28
  • 134
  • 248
cbmeeks
  • 11,248
  • 22
  • 85
  • 136
  • A related question (though most answers seem to refer to Python tools): http://stackoverflow.com/questions/940149/distributing-ruby-python-desktop-apps – aganders3 Jan 03 '12 at 02:32

1 Answers1

1

For Python, the most popular solution is Py2App.

With Ruby, there is MacRuby and Platypus. MacRuby is a Mac-specific Ruby implementation, so it would be better suited for projects that use MacOS features, written from scratch. Platypus would likely be better for packaging up existing scripts as an app.

kimhagen
  • 211
  • 1
  • 2
  • Those look to be good solutions for the Mac world but I would prefer Mac/Windows support and Ruby if possible. Thanks – cbmeeks Jan 03 '12 at 13:33
  • 1
    [RubyScript2Exe](http://www.erikveen.dds.nl/rubyscript2exe/) seems to be less polished than the mac-only stuff, but it'll make executables for Windows, Linux, and Mac. – kimhagen Jan 03 '12 at 17:27