From 7f8bf108e86a2a7e1cd9a054595c656e80683be7 Mon Sep 17 00:00:00 2001 From: Pepijn Date: Wed, 29 Apr 2026 11:47:03 +0200 Subject: [PATCH] fix(annotate): include prompt .txt files in wheel The setuptools package-data declaration only listed envs/*.json, so pip-installed wheels (including HF Jobs runs) were missing the module_1_subtasks/plan/memory and module_2/3 prompt templates, causing FileNotFoundError at runtime. Co-Authored-By: Claude Opus 4.7 (1M context) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 49b67ca42..3ca7113fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -302,7 +302,7 @@ lerobot-annotate="lerobot.scripts.lerobot_annotate:main" # ---------------- Tool Configurations ---------------- [tool.setuptools.package-data] -lerobot = ["envs/*.json"] +lerobot = ["envs/*.json", "annotations/steerable_pipeline/prompts/*.txt"] [tool.setuptools.packages.find] where = ["src"]