diff mbox series

[2/2] pyproject.toml: add scripts

Message ID 20260812194433.40594-2-chris.laplante@agilent.com
State New
Headers show
Series [1/2] pyproject.toml: add setuptools to requires; fix project structure | expand

Commit Message

chris.laplante@agilent.com Aug. 12, 2026, 7:44 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

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

which is convienent for development.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 pyproject.toml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

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