from pathlib import Path from typing import Optional from .source_config import BasicSourceConfig class GlobalPyTeXConfig: _source_root: Optional[Path] = None _build_root: Optional[Path] = None _doc_root: Optional[Path] = None _tex_root: Optional[Path] = None _wrapper_dir: Optional[Path] = None _default_source_config: Optional[BasicSourceConfig] = None _recursive: bool = True _overwrite_existing_files: bool = False _clean_old_files: True _allow_dirty: bool = False @classmethod def build_root(cls) -> Path: return cls._build_root @classmethod def doc_root(cls) -> Path: return cls._doc_root @classmethod def source_root(cls) -> Path: return cls._source_root @classmethod def tex_root(cls) -> Path: return cls._tex_root