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

Re: script-not-executable



> Od: Ben Finney <ben+debian@benfinney.id.au>

JM> > Ok. Can I make override for it.

BF> You *can* make an override for any warnings. The warnings are there for
BF> good reasons, though, so you shouldn't ignore them without a good
BF> understanding of why, and an even better reason why the warning doesn't
BF> apply.

BF> You should fix the file so that it is described by exactly one of the
BF> following:

BF>   * Makes sense to run this file as a command directly from the
BF>     command-line: executable permission on, with valid shebang line.
BF>     Preferably named without the ‘.py’ suffix.

BF>   * Only intended for use for import into a larger program: executable
BF>     permission off, no shebang line. Named with ‘.py’ suffix.

Thank you, that make things much clearer.
I think second options right for me.

regards

mira


Reply to: