On Tue, 21 Sep 2004, Hal Fulton wrote:

> Ara.T.Howard / noaa.gov wrote:
>> to my knowledge setup.rb is distinct, and probably more fully featured,
>> than
>> install.rb.
>>
>> in either case i've been using intall.rb and it doesn't solve the 'shebang'
>> problem - does setup.rb handle the shebang issue?  if so i'll probably
>> start
>> using it - i use install.rb because i have been.  ;-)
>
> I'm not sure, but I think setup.rb (because it is more fully featured) has
> replaced install.rb.
>
> The reason I'm not sure is that I am not much of a packaging person. :/
> My packaging tends to consist of "here's a tgz, unpack it and put it wherever
> you want."  Yes, I need to break that habit.

put your files in a subdir called 'lib' within your tarball.  put install.rb
at the same level

   my_package/README
   my_package/install.rb
   my_package/lib/foo.rb
   my_package/lib/bar.rb

   tar cvfz my_package.tgz my_package/

done.

it's all i ever do - it's too not much, but 'just enough'.

cheers.

-a
--
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| A flower falls, even though we love it;
| and a weed grows, even though we do not love it. 
|   --Dogen
===============================================================================