On Thu, Mar 08, 2018 at 04:36:12PM +0000, Markos Chandras wrote:
> Hi Timothy,
> 
> On 08/03/18 16:15, Timothy Redaelli wrote:
> > This patch tries to find Python 2 as "python2", then "python2.7" and finally
> > "python".
> > 
> > This is needed since "/usr/bin/python" is used as Python 3 on some Linux
> > distributions (for example on Arch Linux) and on Fedora 28
> > "/usr/bin/python" will be deprecated [1]:
> >     "All scripts shall explicitly use /usr/bin/python2."
> > 
> > [1] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
> > 
> > Signed-off-by: Timothy Redaelli <[email protected]>
> > ---
> 
> So if I understand this correctly, in Fedora 28 and Arch Linux,
> /usr/bin/python will actually be the python3 interp right? Why not
> extend the macro then to also look for python3 and python3.5 python3.4
> if no python2 or python exists? In openSUSE tumbleweed, there is no
> python2, python2.X or python if you only have python3 installed so you
> are only left with /usr/bin/python3 and /usr/bin/python3.X

This particular macro checks for Python 2.x.  There is a separate macro
that checks for Python 3.x.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to