aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-23 18:18:08 -0700
committerSimon Glass <sjg@chromium.org>2023-03-08 11:40:49 -0800
commit30eb11ae0483f95f85b483a44387163478bb14d8 (patch)
treec96b5cea10a18d5ca241e29fc1c2b88d8fd1bcaa /tools
parenta545dc1db91bfe9ba04d39c27070cabdbafa6111 (diff)
downloadu-boot-30eb11ae0483f95f85b483a44387163478bb14d8.zip
u-boot-30eb11ae0483f95f85b483a44387163478bb14d8.tar.gz
u-boot-30eb11ae0483f95f85b483a44387163478bb14d8.tar.bz2
patman: Add support for building a patman PyPi package
Create the necessary files to build this new package. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/pyproject.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/patman/pyproject.toml b/tools/patman/pyproject.toml
new file mode 100644
index 0000000..c5dc7c7
--- /dev/null
+++ b/tools/patman/pyproject.toml
@@ -0,0 +1,29 @@
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "patch-manager"
+version = "0.0.2"
+authors = [
+ { name="Simon Glass", email="sjg@chromium.org" },
+]
+dependencies = ["u_boot_pylib"]
+description = "Patman patch manager"
+readme = "README.rst"
+requires-python = ">=3.7"
+classifiers = [
+ "Programming Language :: Python :: 3",
+ "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
+ "Operating System :: OS Independent",
+]
+
+[project.urls]
+"Homepage" = "https://u-boot.readthedocs.io/en/latest/develop/patman.html"
+"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
+
+[project.scripts]
+patman = "patman.__main__:run_patman"
+
+[tool.setuptools.package-data]
+patman = ["*.rst"]