tools: Fix README file in pyproject.toml of u_boot_pylib.
PATCH 1/2 tools: Fix README file in pyproject.toml of u_boot_pylib.
* tools/u_boot_pylib/pyproject.toml (readme): Replace README.md with README.rst.
---
tools/u_boot_pylib/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/u_boot_pylib/pyproject.toml +1 -1
@@ -9,7 +9,7 @@ authors = [ { name="Simon Glass", email="[email protected]" }, ] description = "U-Boot python library" -readme = "README.md" +readme = "README.rst" requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3",
base-commit: 923de765ee1a5b26310f02cb42dcbad9e2b011c5
Signature · 1 line
2.40.1
PATCH 2/2 tools: Fix package discovery in pyproject.toml of u_boot_pylib.
When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory.
* tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section.
---
tools/u_boot_pylib/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+)
tools/u_boot_pylib/pyproject.toml +4 -0
@@ -20,3 +20,7 @@ classifiers = [ [project.urls] "Homepage" = "https://u-boot.readthedocs.io" "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues" + +[tool.setuptools.packages.find] +where = [".."] +include = ["u_boot_pylib*"]
Signature · 1 line
2.40.1
Re: [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib.
Quoted 5 lines · Maxim Cournoyer
When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory.
Quoted 8 lines
*
tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section.Signed-off-by Maxim Cournoyer <[email protected]>---
tools/u_boot_pylib/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+)
Simon Glass
Reviewed-byRe: [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib.
Quoted 5 lines · Maxim Cournoyer
When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory.
Quoted 8 lines
*
tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section.Signed-off-by Maxim Cournoyer <[email protected]>---
tools/u_boot_pylib/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+)
Applied to u-boot-dm, thanks!
Quoted 9 lines · Maxim Cournoyer
*
tools/u_boot_pylib/pyproject.toml(readme): Replace README.md withREADME.rst.Signed-off-by Maxim Cournoyer <[email protected]>---
tools/u_boot_pylib/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Simon Glass
Reviewed-byQuoted 9 lines · Maxim Cournoyer
*
tools/u_boot_pylib/pyproject.toml(readme): Replace README.md withREADME.rst.Signed-off-by Maxim Cournoyer <[email protected]>---
tools/u_boot_pylib/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm, thanks!