[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python script



On Wed, Apr 04, 2001 at 01:02:56PM -0700, Sean 'Shaleh' Perry wrote:
> 
> On 04-Apr-2001 Michael Wiedmann wrote:
> > Questions which arise for me in creating an unofficial Debian
> > package for a Python based script:
> > 
> > - the upstream Python script is called 'script.py'. Should I keep
> >   the .py extension or drop it?
> > 
> 
> Either is fine.
> 
> > - should this script be installed in /usr/bin like any other 
> >   regular program?
> > 
> 
> as a package, yes.
> 
> > - the upstream tarball has no man-page, so I'd created one
> >   and am not sure how to name it: 'script.py.1', 'script.1'?
> > 
> 
> if it is foo.py, you get foo.py.1, if it is foo you get foo.1.  BTW there is a
> program which takes --help output and makes a manpage.  I think it is called
> help2man.

Also note, (altough script may only be an example for you, in this case just
ignore me) but script is already an existing binary of the bsdutils package
(required and in base).

Friendly,

Sven Luther



Reply to: