Hello kfj,
On Sun, 21 Jul 2019 03:10:13 +1000, 'kfj' via hugin and other free
panoramic software <[email protected]> wrote:
[snip]
I checked some more, and came to the conclusion that the 'shebang line'
,'
#! /usr/bin/env python' in the plugins is irrelevant when they are
launched as plugins by hugin. Hugin, with the python interface linked
in, *is* a
python interpreter, and it's either python2 or python3, depending on what
cmake figures out for it. The shebang, is only relevant when the plugin
is executed as a stand-alone script: Some of the plugins (like woa.py)
are
programs in their own right, and the #! /usr/bin/env python tells the
shell to launch 'python' to interpret the script. So no matter what the
shebang
is, when used as plugins from hugin, the shebang has no effect. There is
no need to make any change to the plugin code.
I think forcing the linking-in of a python3 interpreter should be handled
by cmake. On my system, for example (I mistyped, I'm on ubuntu 18.04
LTS), when I build hugin as per instructions in the wiki, it comes out a
python2 interpreter. There's docu I found here
https://cmake.org/cmake/help/git-stage/module/FindPython3.html
Does that help?
I don't think I can make any useful comment on the above.
I needed to overcome a build a problem to enable testing of other code
changes, and simply implemented a suggestion that was provided and then
provided the resulting patch.
I would only add that you should probably just get on and test your ideas
and when satisfied propose a patch.
Re your earlier comment that you don't use Sourceforge, are you not
intending to maintain a local hg repository?
Cheers,
--
Regards,
Terry Duell
--
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/op.z482v7unrs0ygh%40localhost.