[PATCH 2/2] pyproject.toml: add scripts

<[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
From: Chris Laplante <[email protected]>

This change lets you do, e.g. uv run bitbake

which is convienent for development.

Signed-off-by: Chris Laplante <[email protected]>
---
 pyproject.toml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index 886753f14..d3555bc42 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,6 +9,19 @@ requires-python = ">= 3.9"
 
 [tool.setuptools]
 package-dir = {"" = "lib"}
+script-files = [
+    "bin/bitbake",
+    "bin/bitbake-config-build",
+    "bin/bitbake-diffsigs",
+    "bin/bitbake-dumpsig",
+    "bin/bitbake-getvar",
+    "bin/bitbake-hashclient",
+    "bin/bitbake-hashserv",
+    "bin/bitbake-layers",
+    "bin/bitbake-prserv",
+    "bin/bitbake-selftest",
+    "bin/bitbake-setup"
+]
 
 [tool.setuptools.packages.find]
 where = ["lib"]
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.