|Re: [hatari-devel] Build fails with python3|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On 01/02/2017 09:40 AM, Christer Solskogen wrote:
On Sun, Jan 1, 2017 at 5:36 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
I updated it so that it works with both v2 & v3.
Not if there is no /usr/bin/python. (but /usr/bin/python2)
Then that distro is broken. See:
(Is there nowadays consensus/standard which path should
be used for python2 and which for python3?)
Heh, you are funny. In that case I'm sure that you need to bruteforce it .
And let cmake replace the shebang.
I've seen /usr/bin/python, /usr/bin/python2/3,
/usr/bin/python2.x,/usr/bin/python3.x. I've seen them all.
Above PEP tells what distros should do.
Question was more about are there still distros that are broken. :-)
Hconsole & profiler scripts have python3 support now too, and I'm
working on rest of Hatari's Python tools.
Python-ui won't get Python3 support as PyGtk bindings exist only
for Python2, so I will change its hashbang to point to python2