* [Buildroot] [PATCH 1/1] utils/scanpypi: add missing setuptools fallback
@ 2024-10-09 15:46 James Hilliard
2024-10-10 21:34 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2024-10-09 15:46 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
Some projects use pyproject.toml without setting a build backend, per
pep517 we should simply fallback to using setuptools when no build
backend is specified.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
utils/scanpypi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/utils/scanpypi b/utils/scanpypi
index b6a2a92219..f47150ceb6 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -424,6 +424,9 @@ class BuildrootPackage():
self.setup_metadata['method'] = 'pep517'
else:
self.setup_metadata['method'] = 'unknown'
+ else:
+ self.build_backend = 'setuptools.build_meta'
+ self.setup_metadata = {'method': 'setuptools'}
except FileNotFoundError:
self.build_backend = 'setuptools.build_meta'
self.setup_metadata = {'method': 'setuptools'}
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-10 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 15:46 [Buildroot] [PATCH 1/1] utils/scanpypi: add missing setuptools fallback James Hilliard
2024-10-10 21:34 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.