tyrannosaurus.new

Module that generates new projects.

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.new.New(name: str, license_name: Union[str, tyrannosaurus.enums.License], username: str, authors: Sequence[str], description: str, keywords: Sequence[str], version: str, status: tyrannosaurus.enums.DevStatus, should_track: bool, extras: bool, tyranno_vr: str, debug: bool = False)
_call(cmd: List[str], cwd: Optional[pathlib.Path] = None, succeed: Optional[str] = None, fail: Union[None, str, BaseException] = None) Optional[str]
_checkout(path: pathlib.Path) None
_checkout_rev(path: pathlib.Path, tyranno_vr: str)
_murder_evil_path_for_sure(evil_path: pathlib.Path) None

There are likely to be permission issues with .git directories.

Parameters

evil_path – The .git directory

_parse_tyranno_vr(path: pathlib.Path, version: str) Optional[str]
_set_tyranno_vr(path: pathlib.Path)
_track(path: pathlib.Path) None
create(path: pathlib.Path) None