From e1877564e1dc1652442147b659c06595fc753bc9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 8 May 2021 13:53:23 +0000 Subject: [PATCH] tui: Move from sub-module to normal file I thought this would become more code which would need to be split into multiple files, but that does not turn out to be true. Signed-off-by: Michael Tremer --- Makefile.am | 6 +----- src/python/{tui/__init__.py => tui.py} | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) rename src/python/{tui/__init__.py => tui.py} (99%) diff --git a/Makefile.am b/Makefile.am index 4993ee8..5694d42 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,9 +51,5 @@ dist_pkgpython_PYTHON = \ src/python/lang.py \ src/python/logger.py \ src/python/step.py \ + src/python/tui.py \ src/python/util.py - -pkgpython_tuidir = $(pkgpythondir)/tui - -dist_pkgpython_tui_PYTHON = \ - src/python/tui/__init__.py diff --git a/src/python/tui/__init__.py b/src/python/tui.py similarity index 99% rename from src/python/tui/__init__.py rename to src/python/tui.py index 5fa8bbc..83da597 100644 --- a/src/python/tui/__init__.py +++ b/src/python/tui.py @@ -21,7 +21,7 @@ import logging import snack -from ..i18n import _ +from .i18n import _ # Setup logging log = logging.getLogger("bricklayer.tui") -- 2.39.2