import pathlib
import pkg_resources


def get_home_path():
    config_path = pkg_resources.resource_filename(__name__, "")
    return pathlib.Path(config_path).parent.resolve()


def get_template_path():
    return pathlib.Path(get_home_path(), "templates")


def get_static_path():
    return pathlib.Path(get_home_path(), "static")


def get_config_path():
    return pathlib.Path(get_home_path(), "config")
