__author__ = "Altertech Group, https://www.altertech.com/"
__copyright__ = "Copyright (C) 2012-2021 Altertech Group"
__license__ = "Apache License 2.0"
__version__ = "3.4.2"

import neotermcolor

from .common import OS_ID, OS_LIKE, dir_eva

from .common import UnsupportedOS

from .common import install_system_packages, build_system_package

from .common import append_python_libraries, rebuild_python_venv
from .common import remove_python_libraries

from .common import val_to_boolean

from .common import restart_controller, cli_call, eva_jcmd, exec_shell

from .common import stop_controller, start_controller

from .common import ConfigFile, ShellConfigFile

from .common import InvalidParameter, FunctionFailed

from .common import download_phis, remove_phis

from .common import is_enabled


def print_err(*args, **kwargs):
    neotermcolor.cprint(*args, color='red', **kwargs)


def print_warn(*args, **kwargs):
    neotermcolor.cprint(*args, color='yellow', attrs=['bold'], **kwargs)


def print_debug(*args, **kwargs):
    neotermcolor.cprint(*args, color='grey', attrs=['bold'], **kwargs)
