chore: help setuptools finding the project path

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 <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-06-02 15:26:45 +02:00
parent c7be73fb16
commit 1dcffac3fd
No known key found for this signature in database

View file

@ -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"