diff options
Diffstat (limited to 'scripts/qapi-gen.py')
-rw-r--r-- | scripts/qapi-gen.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/qapi-gen.py b/scripts/qapi-gen.py new file mode 100644 index 000000000..f3518d29a --- /dev/null +++ b/scripts/qapi-gen.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +# This work is licensed under the terms of the GNU GPL, version 2 or later. +# See the COPYING file in the top-level directory. + +""" +QAPI code generation execution shim. + +This standalone script exists primarily to facilitate the running of the QAPI +code generator without needing to install the python module to the current +execution environment. +""" + +import sys + +from qapi import main + +if __name__ == '__main__': + sys.exit(main.main()) |