Merge tuhigui into tuhi.gui

Let's make this a submodule of tuhi so we can share some code.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-08-13 11:10:53 +10:00
parent a87a297be3
commit e6057e256d
11 changed files with 3 additions and 6 deletions

View File

@ -30,9 +30,6 @@ subdir('data')
pymod = import('python')
py3 = pymod.find_installation()
python_dir = py3.get_install_dir()
install_subdir('tuhigui',
install_dir: python_dir,
exclude_directories: ['__pycache__'])
install_subdir('tuhi',
install_dir: python_dir,
exclude_directories: '__pycache__')
@ -126,8 +123,8 @@ flake8 = find_program('flake8-3', required: false)
if flake8.found()
test('flake8', flake8,
args: ['--ignore=E501,W504',
join_paths(meson.source_root(), 'tuhigui/'),
join_paths(meson.source_root(), 'tuhi/')])
join_paths(meson.source_root(), 'tuhi'),
join_paths(meson.source_root(), 'tuhi', 'gui')])
# the tests need different flake exclusions
test('flake8-tests', flake8,
args: ['--ignore=E501,W504,F403,F405',

View File

@ -60,7 +60,7 @@ if __name__ == "__main__":
import gettext
import locale
import signal
from tuhigui.application import Application
from tuhi.gui.application import Application
install_excepthook()
gtk_style()