diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-23 18:18:21 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-08 11:40:56 -0800 |
commit | ada5e2f97814ea778eabdb5ab56a0505ed0d3f5c (patch) | |
tree | b03f6abc7ccc2cf6ef9110eaa49db15b7616f971 /tools | |
parent | 8de6adbf4a92ae49af7fb48bbb6d2cf4ae0b8f60 (diff) | |
download | u-boot-ada5e2f97814ea778eabdb5ab56a0505ed0d3f5c.tar.gz u-boot-ada5e2f97814ea778eabdb5ab56a0505ed0d3f5c.tar.bz2 u-boot-ada5e2f97814ea778eabdb5ab56a0505ed0d3f5c.zip |
binman: Add support for building a binmanu PyPi package
Create the necessary files to build this new package.
It is not actually clear whether this is useful, since buildman has no
purpose outside U-Boot.
Move the main program into a function so that it can easily be called by
the PyPi-created script.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/binman/pyproject.toml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/binman/pyproject.toml b/tools/binman/pyproject.toml new file mode 100644 index 0000000000..b4b54fbaee --- /dev/null +++ b/tools/binman/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "binary-manager" +version = "0.0.2" +authors = [ + { name="Simon Glass", email="sjg@chromium.org" }, +] +dependencies = ["pylibfdt", "u_boot_pylib", "dtoc"] +description = "Binman firmware-packaging tool" +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/package/index.html" +"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues" + +[project.scripts] +binman = "binman.main:start_binman" + +[tool.setuptools.package-data] +patman = ["*.rst"] |