mtenv.utils package¶
Submodules¶
mtenv.utils.seeding module¶
mtenv.utils.setup_utils module¶
-
mtenv.utils.setup_utils.
parse_dependency
(filepath: pathlib.Path) → List[str][source]¶ Parse python dependencies from a file.
The list of dependencies is used by setup.py files. Lines starting with “#” are ingored (useful for writing comments). In case the dependnecy is host using git, the url is parsed and modified to make suitable for setup.py files.
- Parameters
filepath (Path) –
- Returns
List of dependencies
- Return type
List[str]