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

Re: Python executables inside libraries



On Thu, Oct 21, 2004 at 11:41:09PM +0200, Magnus Therning wrote:

> Well, they can't go into /usr/bin, they are part of the library.
> However, for some reason upstream decided to put the python equivalent
> of a main() in some of the files that make up the library.

That's a reasonable thing to do.  Just make them non-executable and remove
any #! line.  They can still be invoked with "python foo.py" if the user
wants this.



-- 
 - mdz



Reply to: