Esempio n. 1
0
        def run(self):
            # build translations
            check_call(["pyside2-lupdate", "app.pro"])

            lrelease = os.environ.get("LRELEASE_BIN")
            if not lrelease:
                lrelease = "lrelease"

            check_call([lrelease, "app.pro"])

            # build UI & resources
            build_ui.run(self)
Esempio n. 2
0
        def run(self):
            # build translations
            check_call(['pylupdate5', 'app.pro'])

            lrelease = os.environ.get('LRELEASE_BIN')
            if not lrelease:
                lrelease = 'lrelease'

            check_call([lrelease, 'app.pro'])

            # build UI & resources
            build_ui.run(self)
        def run(self):
            # build translations
            check_call(["pyside2-lupdate", "app.pro"])

            lrelease = os.environ.get("LRELEASE_BIN")
            if not lrelease:
                lrelease = "lrelease"

            check_call([lrelease, "app.pro"])

            # build UI & resources
            build_ui.run(self)
            # create __init__ file for compiled ui
            open("app/ui/__init__.py", "a").close()
Esempio n. 4
0
 def run(self):
     from utils.pyqt import fix_icons
     self._hooks['fix_icons'] = fix_icons
     build_ui.run(self)
Esempio n. 5
0
 def run(self):
     from utils.pyqt import fix_icons
     self._hooks['fix_icons'] = fix_icons
     build_ui.run(self)
Esempio n. 6
0
 def run(self):
     build_ui.run(self)
Esempio n. 7
0
 def run(self):
     # build UI & resources
     build_ui.run(self)