abs cleanup

This commit is contained in:
Matthew Wildoer 2023-12-27 17:31:51 -08:00
parent 31c6de1329
commit b0b2f37d8a

View file

@ -21,10 +21,11 @@ def main(name: str, debug: bool):
"""
# Common variables
repo_root = Path(__file__).parent
extended_globals = {
"name": name,
"caseconverter": caseconverter,
"repo_root": Path(__file__).parent,
"repo_root": repo_root,
}
# Load templates
@ -52,7 +53,7 @@ def main(name: str, debug: bool):
# Remove this script
if not debug:
Path("configure.py").unlink()
(repo_root / "configure.py").unlink()
if __name__ == "__main__":