12 lines
349 B
Python
12 lines
349 B
Python
#! /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))
|