diff --git a/hyperglass/main.py b/hyperglass/main.py index ff00609..930efec 100644 --- a/hyperglass/main.py +++ b/hyperglass/main.py @@ -20,7 +20,7 @@ from .plugins import ( init_builtin_plugins, ) from .constants import MIN_NODE_VERSION, MIN_PYTHON_VERSION, __version__ -from .util.frontend import get_node_version +from .util import get_node_version # Ensure the Python version meets the minimum requirements. pretty_version = ".".join(tuple(str(v) for v in MIN_PYTHON_VERSION)) diff --git a/hyperglass/util/__init__.py b/hyperglass/util/__init__.py index c1d0ab3..0c06950 100644 --- a/hyperglass/util/__init__.py +++ b/hyperglass/util/__init__.py @@ -18,7 +18,7 @@ from .tools import ( from .typing import is_type, is_series from .frontend import build_ui, build_frontend from .validation import get_driver, resolve_hostname, validate_platform -from .system_info import cpu_count, check_python +from .system_info import cpu_count, check_python, get_system_info, get_node_version __all__ = ( "at_least", @@ -35,6 +35,8 @@ __all__ = ( "dotenv_to_dict", "get_driver", "get_fmt_keys", + "get_node_version", + "get_system_info", "is_series", "is_type", "move_files",