From e5f0846695908ff162206ec120c0614df0eca3f8 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 15 Sep 2023 00:58:16 +0300 Subject: README.rst: Drop recommendation to install meson using pip3 Usage of pip3 to install meson may result in a different meson version available for the local user and for root. This causes issues when running `meson install` (directly or through `ninja install`): Installing to a system location will request elevated privileges and use the system meson version to install files, which may fail to unpickle data pickled with the meson version for the local user. As all major distributions now provide a recent-enough version of meson, usage of pip3 is not longer needed in most cases, and shouldn't be recommended. Drop it. While at it, update the version of meson listed in the documentation to match the required version. Bug: https://bugs.libcamera.org/show_bug.cgi?id=199 Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Mattijs Korpershoek --- README.rst | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.rst b/README.rst index df2818e1..6eed7238 100644 --- a/README.rst +++ b/README.rst @@ -47,15 +47,7 @@ A C++ toolchain: [required] Either {g++, clang} Meson Build system: [required] - meson (>= 0.56) ninja-build pkg-config - - If your distribution doesn't provide a recent enough version of meson, - you can install or upgrade it using pip3. - - .. code:: - - pip3 install --user meson - pip3 install --user --upgrade meson + meson (>= 0.57) ninja-build pkg-config for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2 -- cgit v1.2.1