Пример #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)
Пример #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)
Пример #3
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)
            # create __init__ file for compiled ui
            open("app/ui/__init__.py", "a").close()
Пример #4
0
 def run(self):
     from utils.pyqt import fix_icons
     self._hooks['fix_icons'] = fix_icons
     build_ui.run(self)
Пример #5
0
 def run(self):
     from utils.pyqt import fix_icons
     self._hooks['fix_icons'] = fix_icons
     build_ui.run(self)
Пример #6
0
 def run(self):
     build_ui.run(self)
Пример #7
0
 def run(self):
     # build UI & resources
     build_ui.run(self)