コード例 #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
ファイル: setup.py プロジェクト: MartyGentillon/plover
 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
ファイル: setup.py プロジェクト: justinmichaelvieira/ezdmb
 def run(self):
     build_ui.run(self)
コード例 #7
0
ファイル: setup.py プロジェクト: ch-king/HistoSlider-1
 def run(self):
     # build UI & resources
     build_ui.run(self)