tools: Fall back to importlib_resources on Python 3.6
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 22 Apr 2023 14:42:48 +0000 (16:42 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:49:00 +0000 (11:49 -0600)
commitde65b122a2534a5bc61f7714f10125baee5d58f3
treea7971e5c583323dd06e392819b80f0882ef7ce4b
parentf53e973b84d5b60439c8f0cc98099c020b3ab83a
tools: Fall back to importlib_resources on Python 3.6

importlib.resources became part of 3.7 only. Allow using distros with
3.6 and the importlib_resources backport.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/control.py
tools/buildman/control.py
tools/patman/__main__.py