mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-19 14:13:58 +00:00
* Use Qt Designer UI files for the options dialog * More complete Mutagen metadata plugin * Tagz (TaggerScript) implementation * More usable configuration system * Some coding style changes (PEP-008)
14 lines
369 B
Python
14 lines
369 B
Python
#!/usr/bin/env python
|
|
|
|
from PyQt4 import uic
|
|
import glob
|
|
import os.path
|
|
|
|
print "Compiling UI files..."
|
|
for uifile in glob.glob("*.ui"):
|
|
pyfile = "ui_%s.py" % os.path.splitext(os.path.basename(uifile))[0]
|
|
pyfile = os.path.join("..", "picard", "ui", pyfile)
|
|
print " * %s => %s" % (uifile, pyfile)
|
|
uic.compileUi(uifile, file(pyfile, "w"), translator="_")
|
|
|