diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 000000000..93508d92e
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,19 @@
+[build-system]
+requires = []
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "bitbake"
+version = "2.19.0"
+
+[tool.vendoring]
+destination = "lib/bb/_vendor"
+requirements = "vendor.txt"
+namespace = "bb._vendor"
+patches-dir = "vendor/patches"
+
+[tool.vendoring.license.directories]
+ply = "vendor/licenses/ply/LICENSE"
+
+[tool.vendoring.license.fallback-urls]
+ply = "https://raw.githubusercontent.com/dabeaz/ply/refs/heads/master/src/ply/lex.py"
diff --git a/vendor.txt b/vendor.txt
new file mode 100644
index 000000000..c60d43092
--- /dev/null
+++ b/vendor.txt
@@ -0,0 +1,4 @@
+beautifulsoup4==4.15.0
+ply==3.10
+progressbar==2.5
+simplediff==1.1
