poky/scripts/contrib/oe-image-files-spdx/pyproject.toml
Joshua Watt 36be59464c scripts/contrib: Add oe-image-files-spdx script
Adds a template for a python project that processes the SPDX 3.0.1
output from a build and lists all the files on the root file system with
their checksums

This is intended to be an example to show how to deal with the SPDX data
to do common tasks.

(From OE-Core rev: 3d9c5588ce6181b519810e3378b55826ffcaee49)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-18 11:56:03 +00:00

24 lines
558 B
TOML

[project]
name = "oe-image-files"
description = "Displays all packaged files on the root file system"
dynamic = ["version"]
requires-python = ">= 3.8"
readme = "README.md"
dependencies = [
"spdx_python_model @ git+https://github.com/spdx/spdx-python-model.git@aa40861f11d1b5d20edba7101835341a70d91179",
]
[project.scripts]
oe-image-files = "oe_image_files:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/oe_image_files/version.py"
[tool.hatch.metadata]
allow-direct-references = true