diff --git a/compileui.py b/compileui.py new file mode 100644 index 0000000..968bd3b --- /dev/null +++ b/compileui.py @@ -0,0 +1,11 @@ +#! /usr/bin/env python3 + +from PyQt5.uic import compileUi + +Forms = (('main.ui', 'MuleAnalyzerUI.py'),) + +for ui_input, output_filename in Forms: + print('Compiling "{}"...'.format(ui_input)) + with open(output_filename, 'w+') as output: + compileUi(ui_input, output) + print('... Form built and written to: "{}".'.format(output_filename))