Re: How to deal with Python script
On Mon, Apr 05, 2004 at 04:12:30PM +0100, Tom Huckstep wrote:
> On Mon, Apr 05, 2004 at 03:43:51PM +0200, Frank K?ster wrote:
> > > 1. Add a Depends: on Python
> > > 2. Remove 'teepeedee-share' from the .deb
> > > 3. Put teepeedee-share in a separate package
> > > 4. Replace the 'teepeedee-share' with a shell wrapper, which calls the script
> > > if Python exists
> > [...]
> > > I like 4. and it is what I have implemented, but my sponsor is
> > > not so keen.
> > Have you considered adding a "Recommends" or "Suggests"?
> That's a good idea, I'd forgotten to do that. Do you think that will be
> enough, or is there something else I should/could do?
If you wish, you can modify the script so that if the user attempts to use
it and python is not installed (which is rather rare, since python is
Priority: standard), it prints a helpful message explaining that python is
needed in order to run the program. But I don't think this is really
necessary in this case.