Add setuptools package configuration to pyproject.toml so that
u_boot_pylib is installed as a proper Python package without changing
the existing flat directory structure and making sure all modules are
installed.
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
"Homepage" = "https://docs.u-boot.org"
"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
+[tool.setuptools]
+packages = ["u_boot_pylib"]
+
+[tool.setuptools.package-dir]
+u_boot_pylib = ""
+
[tool.setuptools.package-data]
u_boot_pylib = ["*.rst"]