PDA

View Full Version : Packaging Ruby and Python programs



mr_ed
February 9th, 2006, 02:32 AM
Say I created RubyProgram or PythonProgram 0.1, and I'd like to make a .deb package out of it. How exactly would I go about doing that?

With C/C++ I can use autotools and checkinstall. Is there an equivalent for interpreted languages?

I could manually create a /usr/bin/RubyProgram (which would be a script that executes #!/usr/bin/env ruby RubyProgramMain) or something like that and stuff those two files into a .deb repo...
Any other ideas?

Jimmey
February 10th, 2006, 02:43 PM
There's some useful options in Boa-Constructor for Python - That's available in the repositories...

I'm not too sure about Ruby.