def METHOD_NAME():
    # return version with git describe
    try:
        # set path to flowsa repository, necessary if running method files
        # outside the flowsa repo
        tags = subprocess.check_output(
            ["git", "describe", "--tags", "--always"],
            cwd=MODULEPATH).decode().strip()
        pkg_version = tags.split("-", 1)[0].replace('v', "")
    except subprocess.CalledProcessError:
        pkg_version = version('flowsa')
    return pkg_version