create a mozregui package
This commit is contained in:
Родитель
850b9bcff4
Коммит
9640ad526e
|
@ -10,5 +10,5 @@ gui/build/
|
|||
gui/dist/
|
||||
gui/venv/
|
||||
gui/mozregression-gui.spec
|
||||
gui/ui/*.py
|
||||
!gui/ui/__init__.py
|
||||
gui/mozregui/ui/*.py
|
||||
!gui/mozregui/ui/__init__.py
|
||||
|
|
|
@ -34,7 +34,7 @@ def do_uic(force=False):
|
|||
from pysideuic import compileUi
|
||||
except ImportError:
|
||||
sys.exit("please execute this from the virtualenv.")
|
||||
for uifile in glob.glob('ui/*.ui'):
|
||||
for uifile in glob.glob('mozregui/ui/*.ui'):
|
||||
pyfile = os.path.splitext(uifile)[0] + '.py'
|
||||
if force or not os.path.isfile(pyfile) or \
|
||||
(os.path.getmtime(uifile) > os.path.getmtime(pyfile)):
|
||||
|
|
|
@ -6,9 +6,9 @@ from PySide.QtCore import Slot
|
|||
from mozlog.structured import set_default_logger
|
||||
from mozlog.structured.structuredlog import StructuredLogger
|
||||
|
||||
from ui.mainwindow import Ui_MainWindow
|
||||
from wizard import BisectionWizard
|
||||
from bisection import BisectRunner
|
||||
from mozregui.ui.mainwindow import Ui_MainWindow
|
||||
from mozregui.wizard import BisectionWizard
|
||||
from mozregui.bisection import BisectRunner
|
||||
|
||||
|
||||
class MainWindow(QMainWindow):
|
||||
|
|
Загрузка…
Ссылка в новой задаче