I want to alias project_version with init_version, but since NamedTuple is a factory method I'm having difficulty in doing this.
from typing import NamedTuple
class ProjectMetadata(NamedTuple):
    """Structure holding project metadata derived from `pyproject.toml`"""
    config_file: Path
    package_name: str
    project_name: str
    project_path: Path
    project_version: str
    source_dir: Path
I've tried the basic alias technique but met with undefined init_version errors.
from typing import NamedTuple
class ProjectMetadata(NamedTuple):
    """Structure holding project metadata derived from `pyproject.toml`"""
    config_file: Path
    package_name: str
    project_name: str
    project_path: Path
    project_version: str = init_version
    source_dir: Path
 
     
    