qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 3/3] configure: install meson to a python virtual environ


From: Paolo Bonzini
Subject: Re: [RFC PATCH 3/3] configure: install meson to a python virtual environment
Date: Wed, 29 Mar 2023 15:27:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/29/23 14:53, Daniel P. Berrangé wrote:
I would love to see a day where configure isn't involved in the
build process. Obviously we can't put this new logic into
meson as its a chicken & egg problem. Could we potentially
have your new  python/scripts/mkvenv.py script be responsible
for setting up meson in the venv though, so we can avoid
adding more shell code to configure ?

Not sure this is the same thing a what you want, but I do have a pipedream of rewriting configure in Python. At this point it has a lot more logic than it has command invocations.

John, do you think it makes sense to do the "pip install" steps already in mkvenv's post_post_setup phase? Maybe by passing a version spec like meson>=0.61.5 in place of the simpler "--gen pip,meson,sphinx" that you have now?

Not for this series; just dumping some thoughts prompted by Daniel's question.

Paolo




reply via email to

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