aboutsummaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/pyproject.toml
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-07-07 17:15:32 -0400
committerSimon Glass <sjg@chromium.org>2023-07-20 14:10:57 -0600
commit3563edefe2e3bfb4d316a8865ad9f37e43e99b47 (patch)
tree1a038572ee23e75890d1de507c0c3a9b525d6643 /tools/u_boot_pylib/pyproject.toml
parent8b9c08267f0657b39105539801f811a5e086e97b (diff)
downloadu-boot-3563edefe2e3bfb4d316a8865ad9f37e43e99b47.zip
u-boot-3563edefe2e3bfb4d316a8865ad9f37e43e99b47.tar.gz
u-boot-3563edefe2e3bfb4d316a8865ad9f37e43e99b47.tar.bz2
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 <maxim.cournoyer@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/u_boot_pylib/pyproject.toml')
-rw-r--r--tools/u_boot_pylib/pyproject.toml4
1 files changed, 4 insertions, 0 deletions
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*"]