U-boot Archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib.
@ 2023-07-07 21:15 Maxim Cournoyer
  2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-07-07 21:15 UTC (permalink / raw
  To: u-boot; +Cc: Simon Glass, Maxim Cournoyer

* tools/u_boot_pylib/pyproject.toml (readme): Replace README.md with
README.rst.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---

 tools/u_boot_pylib/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml
index 3f33caf6f8..31a4c0adae 100644
--- a/tools/u_boot_pylib/pyproject.toml
+++ b/tools/u_boot_pylib/pyproject.toml
@@ -9,7 +9,7 @@ authors = [
   { name="Simon Glass", email="sjg@chromium.org" },
 ]
 description = "U-Boot python library"
-readme = "README.md"
+readme = "README.rst"
 requires-python = ">=3.7"
 classifiers = [
     "Programming Language :: Python :: 3",

base-commit: 923de765ee1a5b26310f02cb42dcbad9e2b011c5
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib.
  2023-07-07 21:15 [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib Maxim Cournoyer
@ 2023-07-07 21:15 ` Maxim Cournoyer
  2023-07-09  3:38   ` Simon Glass
  2023-07-23 13:23   ` Simon Glass
  2023-07-09  3:38 ` [PATCH 1/2] tools: Fix README file " Simon Glass
  2023-07-23 13:23 ` Simon Glass
  2 siblings, 2 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-07-07 21:15 UTC (permalink / raw
  To: u-boot; +Cc: Simon Glass, 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.

* tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find
section.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---

 tools/u_boot_pylib/pyproject.toml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml
index 31a4c0adae..037c5d629e 100644
--- a/tools/u_boot_pylib/pyproject.toml
+++ b/tools/u_boot_pylib/pyproject.toml
@@ -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*"]
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib.
  2023-07-07 21:15 [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib Maxim Cournoyer
  2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
@ 2023-07-09  3:38 ` Simon Glass
  2023-07-23 13:23 ` Simon Glass
  2 siblings, 0 replies; 6+ messages in thread
From: Simon Glass @ 2023-07-09  3:38 UTC (permalink / raw
  To: Maxim Cournoyer; +Cc: u-boot

On Fri, 7 Jul 2023 at 15:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
> * tools/u_boot_pylib/pyproject.toml (readme): Replace README.md with
> README.rst.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ---
>
>  tools/u_boot_pylib/pyproject.toml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib.
  2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
@ 2023-07-09  3:38   ` Simon Glass
  2023-07-23 13:23   ` Simon Glass
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Glass @ 2023-07-09  3:38 UTC (permalink / raw
  To: Maxim Cournoyer; +Cc: u-boot

On Fri, 7 Jul 2023 at 15:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
> 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.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ---
>
>  tools/u_boot_pylib/pyproject.toml | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib.
  2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
  2023-07-09  3:38   ` Simon Glass
@ 2023-07-23 13:23   ` Simon Glass
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Glass @ 2023-07-23 13:23 UTC (permalink / raw
  To: Simon Glass; +Cc: u-boot, Maxim Cournoyer

On Fri, 7 Jul 2023 at 15:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
> 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.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ---
>
>  tools/u_boot_pylib/pyproject.toml | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib.
  2023-07-07 21:15 [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib Maxim Cournoyer
  2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
  2023-07-09  3:38 ` [PATCH 1/2] tools: Fix README file " Simon Glass
@ 2023-07-23 13:23 ` Simon Glass
  2 siblings, 0 replies; 6+ messages in thread
From: Simon Glass @ 2023-07-23 13:23 UTC (permalink / raw
  To: Simon Glass; +Cc: u-boot, Maxim Cournoyer

On Fri, 7 Jul 2023 at 15:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
> * tools/u_boot_pylib/pyproject.toml (readme): Replace README.md with
> README.rst.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ---
>
>  tools/u_boot_pylib/pyproject.toml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-23 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07 21:15 [PATCH 1/2] tools: Fix README file in pyproject.toml of u_boot_pylib Maxim Cournoyer
2023-07-07 21:15 ` [PATCH 2/2] tools: Fix package discovery " Maxim Cournoyer
2023-07-09  3:38   ` Simon Glass
2023-07-23 13:23   ` Simon Glass
2023-07-09  3:38 ` [PATCH 1/2] tools: Fix README file " Simon Glass
2023-07-23 13:23 ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).