def _get_version() -> str:
    """Read cookiecutter/VERSION.txt and return its contents."""
    path = Path("cookiecutter").resolve()
    version_file = path / "VERSION.txt"
    return version_file.read_text().strip()
Read cookiecutter/VERSION.txt and return its contents.
setup.py