From: Maxim Cournoyer Date: Fri, 7 Jul 2023 21:15:32 +0000 (-0400) Subject: tools: Fix package discovery in pyproject.toml of u_boot_pylib. X-Git-Tag: v2023.10~84^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3563edefe2e3bfb4d316a8865ad9f37e43e99b47;p=platform%2Fkernel%2Fu-boot.git tools: Fix package discovery in pyproject.toml of u_boot_pylib. When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory. * tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section. Signed-off-by: Maxim Cournoyer Reviewed-by: Simon Glass --- diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml index 31a4c0a..037c5d6 100644 --- a/tools/u_boot_pylib/pyproject.toml +++ b/tools/u_boot_pylib/pyproject.toml @@ -20,3 +20,7 @@ classifiers = [ [project.urls] "Homepage" = "https://u-boot.readthedocs.io" "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues" + +[tool.setuptools.packages.find] +where = [".."] +include = ["u_boot_pylib*"]