def main():
    """Execute all checks."""
    check_python_version()
    check_python_modules()
    check_executables()
    home = os.path.expanduser("~")
    print("\033[1mCheck files\033[0m")
    rcfile = os.path.join(home, ".hwrtrc")
    if os.path.isfile(rcfile):
        print("~/.hwrtrc... %sFOUND%s" %
              (Bcolors.OKGREEN, Bcolors.ENDC))
    else:
        print("~/.hwrtrc... %sNOT FOUND%s" %
              (Bcolors.FAIL, Bcolors.ENDC))
    misc_path = pkg_resources.resource_filename('hwrt', 'misc/')
    print("misc-path: %s" % misc_path)
def main ( ) : check_python_version ( ) check_python_modules ( ) check_executables ( ) home = os . path . expanduser ( "~" ) print ( "\033[1mCheck files\033[0m" ) rcfile = os . path . join ( home , ".hwrtrc" ) if os . path . isfile ( rcfile ) : print ( "~/.hwrtrc... %sFOUND%s" % ( Bcolors . OKGREEN , Bcolors . ENDC ) ) else : print ( "~/.hwrtrc... %sNOT FOUND%s" % ( Bcolors . FAIL , Bcolors . ENDC ) ) misc_path = pkg_resources . resource_filename ( 'hwrt' , 'misc/' ) print ( "misc-path: %s" % misc_path )
Execute all checks.