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:
parent
a87a297be3
commit
e6057e256d
|
@ -30,9 +30,6 @@ subdir('data')
|
||||||
pymod = import('python')
|
pymod = import('python')
|
||||||
py3 = pymod.find_installation()
|
py3 = pymod.find_installation()
|
||||||
python_dir = py3.get_install_dir()
|
python_dir = py3.get_install_dir()
|
||||||
install_subdir('tuhigui',
|
|
||||||
install_dir: python_dir,
|
|
||||||
exclude_directories: ['__pycache__'])
|
|
||||||
install_subdir('tuhi',
|
install_subdir('tuhi',
|
||||||
install_dir: python_dir,
|
install_dir: python_dir,
|
||||||
exclude_directories: '__pycache__')
|
exclude_directories: '__pycache__')
|
||||||
|
@ -126,8 +123,8 @@ flake8 = find_program('flake8-3', required: false)
|
||||||
if flake8.found()
|
if flake8.found()
|
||||||
test('flake8', flake8,
|
test('flake8', flake8,
|
||||||
args: ['--ignore=E501,W504',
|
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
|
# the tests need different flake exclusions
|
||||||
test('flake8-tests', flake8,
|
test('flake8-tests', flake8,
|
||||||
args: ['--ignore=E501,W504,F403,F405',
|
args: ['--ignore=E501,W504,F403,F405',
|
||||||
|
|
|
@ -60,7 +60,7 @@ if __name__ == "__main__":
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
import signal
|
import signal
|
||||||
from tuhigui.application import Application
|
from tuhi.gui.application import Application
|
||||||
|
|
||||||
install_excepthook()
|
install_excepthook()
|
||||||
gtk_style()
|
gtk_style()
|
||||||
|
|
Loading…
Reference in New Issue