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 <tredae...@redhat.com>
> ---

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

Would you be able to amend your patch to look for these additional
python strings?

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to