On Sat 24-Aug-2019 at 18:05 +0200, Hugin ptx wrote:

It depends on the python file: you can write it so that it only runs as a hugin plugin, or you can write it so that it can run as a plugin and stand-alone as well. But maybe that's too much artistry; I thought this would make it simpler to maintain because both modes of operation are in a single file. Maybe it's better to stick to plugins only and remove the stand-alone capability.

Only python code that can be run on the command-line _needs_ to have a shebang, this should always be #!/usr/bin/python3 since we want to drop python2 support.

It does no harm having a shebang in other python files since it helps text editors with syntax highlighting etc...

--
Bruno

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20190825093046.GA4565%40postle.net.

Reply via email to