]> git.ipfire.org Git - thirdparty/qemu.git/commit
python: add vendor.py utility
authorJohn Snow <jsnow@redhat.com>
Thu, 11 May 2023 03:54:22 +0000 (23:54 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 06:53:51 +0000 (08:53 +0200)
commit2274817f6c499fd31081d7973b7cbfdca17c44a8
tree934d5ff355a9e8ff45d1426f48c05890540fe773
parent1dee66c693e6772ee33f5b8be7d061dd7ee27cd5
python: add vendor.py utility

This is a teeny-tiny script that just downloads any packages we want to
vendor from PyPI and stores them in qemu.git/python/wheels/. If I'm hit
by a meteor, it'll be easy to replicate what I have done in order to
udpate the vendored source.

We don't really care which python runs it; it exists as a meta-utility
with no external dependencies and we won't package or install it. It
will be monitored by the linters/type checkers, though; so it's
guaranteed safe on python 3.6+.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230511035435.734312-15-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
python/scripts/vendor.py [new file with mode: 0755]