qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] configure: more resilient Python version captur


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] configure: more resilient Python version capture
Date: Sun, 25 Aug 2019 16:07:55 +0100

On Sat, 24 Aug 2019 at 08:32, <address@hidden> wrote:
> > -echo "PYTHON_VERSION=$python_version" >> $config_host_mak
> > +echo "PYTHON2=$python2" >> $config_host_mak
> ...
> > -ifneq ($(findstring v2,"v$(PYTHON_VERSION)"),v2)
> > +ifneq ($(PYTHON2),y)
>
> Succinctly, if Python 3.
>
> We can further ween the world off Python 2 by replacing python2="y" for
> python3="y" and PYTHON2 for PYTHON3.

I don't think it's a big deal which way round we do this, because
once we drop Python 2 support the if and the variable will just
be deleted entirely.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]