From 1dcffac3fdc11762cde095ce83e34d0e87394906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 2 Jun 2025 15:26:45 +0200 Subject: [PATCH] chore: help setuptools finding the project path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This resolves the slowness I experienced when running `uv` commands. One other option would also be to use `uv` build instead of setuptools (much faster) but it does not support dynamic metadata. So we could reconsider later. Signed-off-by: Sébastien Han --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f79857c3d..6a539c132 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,9 +130,8 @@ Homepage = "https://github.com/meta-llama/llama-stack" llama = "llama_stack.cli.llama:main" install-wheel-from-presigned = "llama_stack.cli.scripts.run:install_wheel_from_presigned" -[tool.setuptools] -packages = { find = {} } -license-files = [] +[tool.setuptools.packages.find] +include = ["llama_stack"] [[tool.uv.index]] name = "pytorch-cpu"