mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
python: move qmp utilities to python/qemu/utils
In order to upload a QMP package to PyPI, I want to remove any scripts that I am not 100% confident I want to support upstream, beyond our castle walls. Move most of our QMP utilities into the utils package so we can split them out from the PyPI upload. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Beraldo Leal <bleal@redhat.com>
This commit is contained in:
parent
f3efd12930
commit
0347c4c4cf
11 changed files with 14 additions and 14 deletions
|
@ -60,13 +60,13 @@ tui =
|
|||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
qom = qemu.qmp.qom:main
|
||||
qom-set = qemu.qmp.qom:QOMSet.entry_point
|
||||
qom-get = qemu.qmp.qom:QOMGet.entry_point
|
||||
qom-list = qemu.qmp.qom:QOMList.entry_point
|
||||
qom-tree = qemu.qmp.qom:QOMTree.entry_point
|
||||
qom-fuse = qemu.qmp.qom_fuse:QOMFuse.entry_point [fuse]
|
||||
qemu-ga-client = qemu.qmp.qemu_ga_client:main
|
||||
qom = qemu.utils.qom:main
|
||||
qom-set = qemu.utils.qom:QOMSet.entry_point
|
||||
qom-get = qemu.utils.qom:QOMGet.entry_point
|
||||
qom-list = qemu.utils.qom:QOMList.entry_point
|
||||
qom-tree = qemu.utils.qom:QOMTree.entry_point
|
||||
qom-fuse = qemu.utils.qom_fuse:QOMFuse.entry_point [fuse]
|
||||
qemu-ga-client = qemu.utils.qemu_ga_client:main
|
||||
qmp-shell = qemu.qmp.qmp_shell:main
|
||||
aqmp-tui = qemu.aqmp.aqmp_tui:main [tui]
|
||||
|
||||
|
@ -80,7 +80,7 @@ python_version = 3.6
|
|||
warn_unused_configs = True
|
||||
namespace_packages = True
|
||||
|
||||
[mypy-qemu.qmp.qom_fuse]
|
||||
[mypy-qemu.utils.qom_fuse]
|
||||
# fusepy has no type stubs:
|
||||
allow_subclassing_any = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue