tyrannosaurus.context
Holds a “context” of metadata that was read from a pyproject.toml.
Original source: https://github.com/dmyersturnbull/tyrannosaurus Copyright 2020–2021 Douglas Myers-Turnbull Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0
Module Contents
- class tyrannosaurus.context.Context(path: Union[pathlib.Path, str], data=None, dry_run: bool = False)
- back_up(path: Union[pathlib.Path, str]) None
- property build_sys_reqs Mapping[str, str]
- check_path(path: Union[pathlib.Path, str]) None
- delete_exact_path(path: pathlib.Path, hard_delete: bool) Tuple[Optional[pathlib.Path], Optional[pathlib.Path]]
- property deps Mapping[str, str]
- property description str
- destroy_tmp() bool
- property dev_deps Mapping[str, str]
- property extras Mapping[str, str]
- get_bak_path(path: Union[pathlib.Path, str])
- has_opt(key: str)
- has_target(key: str) bool
- item(key: str)
- property license tyrannosaurus.enums.License
- path_source(key: str) pathlib.Path
- poetry(key: str)
- property project str
- source(key: str)
- trash(path: str, hard_delete: bool) Tuple[Optional[pathlib.Path], Optional[pathlib.Path]]
- property version str