patman: locate README.rst via importlib
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sat, 17 Dec 2022 01:45:29 +0000 (20:45 -0500)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 02:21:57 +0000 (19:21 -0700)
commita5197fc9c3329e3559e79dabb5acde9d0dd9e102
treec0401ca547a63d9fa573f201d8ff57c1b60808a1
parent425bbed247e3361f45f4c83fbfdb432a0bcc2892
patman: locate README.rst via importlib

Rationale: this is more robust than assumptions about the file
hierarchy layout of the installation of patman, for example on non
file-hierarchy standard (FHS) systems such as Guix System or Nix OS.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/main.py