aboutsummaryrefslogtreecommitdiff
path: root/common-user
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2023-05-10 23:54:30 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-18 08:53:51 +0200
commit0c5f3dcbb255453041628923625284109a810792 (patch)
tree4d45f729510f7c9b3d245b7d52e97ca0e3c527b8 /common-user
parent6f6652ebc2717b28c5788e6364c6dab09bb0ac44 (diff)
downloadqemu-0c5f3dcbb255453041628923625284109a810792.zip
qemu-0c5f3dcbb255453041628923625284109a810792.tar.gz
qemu-0c5f3dcbb255453041628923625284109a810792.tar.bz2
configure: add --enable-pypi and --disable-pypi
In the event that there's no vendored source present and no sufficient version of $package can be found, we will attempt to connect to PyPI to install the package if '--disable-pypi' was not passed. This means that PyPI access is "enabled by default", but there are some subtleties that make this action occur much less frequently than you might imagine: (1) While --enable-pypi is the default, vendored source will always be preferred when found, making PyPI a fallback. This should ensure that configure-time venv building "just works" for almost everyone in almost every circumstance. (2) Because meson source is, at time of writing, vendored directly into qemu.git, PyPI will never be used for sourcing meson. (3) Because Sphinx is an optional dependency, if docs are set to "auto", PyPI will not be used to obtain Sphinx source as a fallback and instead docs will be disabled. If PyPI sourcing of sphinx is desired, --enable-docs should be passed to force the lookup. I chose this as the default behavior to avoid adding new internet lookups to a "default" invocation of configure. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20230511035435.734312-23-jsnow@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'common-user')
0 files changed, 0 insertions, 0 deletions