diff --git a/tools/build_dependencies.py b/tools/build_dependencies.py index 75d6e0c315..8eaf9d87e3 100644 --- a/tools/build_dependencies.py +++ b/tools/build_dependencies.py @@ -113,10 +113,12 @@ if not build_dir.exists(): _print("Probably freezing of code failed. Check ./build/build.log", 3) sys.exit(1) + def _progress(_base, _names): progress_bar.update() return [] + deps_dir = build_dir / "dependencies" vendor_dir = build_dir / "vendor" vendor_src = openpype_root / "vendor" diff --git a/tools/parse_pyproject.py b/tools/parse_pyproject.py index 296d73654d..dacecd88d0 100644 --- a/tools/parse_pyproject.py +++ b/tools/parse_pyproject.py @@ -10,7 +10,6 @@ from pathlib import Path import click - @click.command() @click.argument("keys", nargs=-1, type=click.STRING) def main(keys): @@ -19,7 +18,6 @@ def main(keys): You can specify dot separated keys from `pyproject.toml` as arguments and this script will return them on separate lines. If key doesn't exists, None is returned. - """ openpype_root = Path(os.path.dirname(__file__)).parent @@ -27,8 +25,8 @@ def main(keys): for q in keys: query = q.split(".") data = py_project - for i, k in enumerate(query): + for k in query: if isinstance(data, list): try: data = data[int(k)]