qemu-devel
[Top][All Lists]
Advanced

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

Re: dectree.py uses env python3 rather than configured python


From: John Snow
Subject: Re: dectree.py uses env python3 rather than configured python
Date: Tue, 6 Apr 2021 15:38:22 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 4/6/21 2:50 PM, Dr. David Alan Gilbert wrote:
Hi Taylor,
   I tripped over dectree.py using 'env python3'; the qemu configure
script lets you specify a python with e.g.:
     --with-python=/usr/libexec/platform-python

and I think everywhere else in qemu uses the configured python.
(This host, like most standard rhel8, doesn't have a python3 binary out
of the box)

Dave


Hi,

Instead of allowing meson to invoke this script directly (and have the shebang be processed by the shell), meson ought to be taught to invoke it directly using the user's configured python interpreter.

The shebang "#!/usr/bin/env python3" is otherwise the correct one to use, and should (probably) be left alone.

--js




reply via email to

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