dump tmp changes
This commit is contained in:
parent
f2fc8a832d
commit
6d219f00fa
2 changed files with 11 additions and 3 deletions
|
@ -50,7 +50,15 @@ if __name__ == "__main__":
|
||||||
("use_docstrip_guards", [])
|
("use_docstrip_guards", [])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
print(out)
|
out2 = generate_properties(
|
||||||
|
[
|
||||||
|
("recursive", True),
|
||||||
|
("overwrite_existing_files", False),
|
||||||
|
("clean_old_files", False),
|
||||||
|
("allow_dirty", False)
|
||||||
|
]
|
||||||
|
)
|
||||||
|
print(out2)
|
||||||
|
|
||||||
def generate_properties(attributes: List[Union[str, Tuple[str, Any]]]):
|
def generate_properties(attributes: List[Union[str, Tuple[str, Any]]]):
|
||||||
attributes = [
|
attributes = [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
self._pytex_root_dir_type: PyTeXRootDirType = pytex_root_dir_type
|
self._pytex_root_dir_type: PyTeXRootDirType = pytex_root_dir_type
|
||||||
self._root_dir: Path = {
|
self._root_dir: Path = {
|
||||||
PyTeXRootDirType.BUILD: build_dir_spec.build_root,
|
PyTeXRootDirType.BUILD: build_dir_spec.build_root,
|
||||||
PyTeXRootDirType.PYTEX_SOURCE: build_dir_spec.source_root,
|
PyTeXRootDirType.PYTEX_SOURCE: build_dir_spec.pytex_source_root,
|
||||||
PyTeXRootDirType.DOC: build_dir_spec.doc_root,
|
PyTeXRootDirType.DOC: build_dir_spec.doc_root,
|
||||||
PyTeXRootDirType.TEX_SOURCE: build_dir_spec.tex_root
|
PyTeXRootDirType.TEX_SOURCE: build_dir_spec.tex_source_root
|
||||||
}[self._pytex_root_dir_type]
|
}[self._pytex_root_dir_type]
|
||||||
|
|
Loading…
Reference in a new issue