pytex/PyTeX/tmp/relpath.py
Maximilian Keßler 1cdb9964e7 remove some unnecessary dependencies in subclasses.
add PyTeXBuilder class instead of a global config
2022-02-05 21:13:43 +01:00

7 lines
346 B
Python

self._pytex_root_dir_type: PyTeXRootDirType = pytex_root_dir_type
self._root_dir: Path = {
PyTeXRootDirType.BUILD: build_dir_spec.build_root,
PyTeXRootDirType.PYTEX_SOURCE: build_dir_spec.source_root,
PyTeXRootDirType.DOC: build_dir_spec.doc_root,
PyTeXRootDirType.TEX_SOURCE: build_dir_spec.tex_root
}[self._pytex_root_dir_type]