From 30a28c960c99b1ba67dfddd19725cb490c44457c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 27 Mar 2025 11:18:39 +0100 Subject: [PATCH] chore: remove distributions dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup on https://github.com/meta-llama/llama-stack/pull/1801. Move the deps files to llama_stack/templates. Signed-off-by: Sébastien Han --- MANIFEST.in | 2 +- {distributions => llama_stack/templates}/dependencies.json | 0 scripts/distro_codegen.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {distributions => llama_stack/templates}/dependencies.json (100%) diff --git a/MANIFEST.in b/MANIFEST.in index 572a9ac0a..5aa699e65 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ include pyproject.toml -include distributions/dependencies.json +include llama_stack/templates/dependencies.json include llama_stack/models/llama/llama3/tokenizer.model include llama_stack/distribution/*.sh include llama_stack/cli/scripts/*.sh diff --git a/distributions/dependencies.json b/llama_stack/templates/dependencies.json similarity index 100% rename from distributions/dependencies.json rename to llama_stack/templates/dependencies.json diff --git a/scripts/distro_codegen.py b/scripts/distro_codegen.py index e19ba8cb9..98faa53a3 100755 --- a/scripts/distro_codegen.py +++ b/scripts/distro_codegen.py @@ -117,7 +117,7 @@ def generate_dependencies_file(change_tracker: ChangedPathTracker): if name: distribution_deps[name] = deps - deps_file = REPO_ROOT / "distributions" / "dependencies.json" + deps_file = REPO_ROOT / "llama_stack" / "templates" / "dependencies.json" change_tracker.add_paths(deps_file) with open(deps_file, "w") as f: f.write(json.dumps(distribution_deps, indent=2) + "\n")