mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
python/qemu-ga-client: add entry point
Remove the shebang, and add a package-defined entry point instead. Now, it can be accessed using 'qemu-ga-client' from the command line after installing the package. The next commit adds a forwarder shim that allows the running of this script without needing to install the package again. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210604155532.1499282-11-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
@ -50,6 +50,7 @@ console_scripts =
|
||||
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
|
||||
|
||||
[flake8]
|
||||
extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
|
||||
|
Reference in New Issue
Block a user