tools: u_boot_pylib: ensure all Python modules are installed
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>
This commit is contained in:
@@ -21,5 +21,11 @@ classifiers = [
|
||||
"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"]
|
||||
|
||||
Reference in New Issue
Block a user