From 1d72eca34775b96be79aa4527afb3ad0b44f728e Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 18 May 2022 16:13:13 +0300 Subject: py: meson: Fix comment about stubs At least pyright seems to be able to use the stubs from the libcamera-stubs directory, so no need to copy the generated files. Adjust the comment accordingly. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Laurent Pinchart --- src/py/libcamera/meson.build | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build index cd20bb00..3c0828b8 100644 --- a/src/py/libcamera/meson.build +++ b/src/py/libcamera/meson.build @@ -63,4 +63,3 @@ install_data(['__init__.py'], install_dir : destdir) # \todo Generate stubs when building. See https://peps.python.org/pep-0484/#stub-files # Note: Depends on pybind11-stubgen. To generate pylibcamera stubs: # $ PYTHONPATH=build/src/py pybind11-stubgen --no-setup-py -o build/src/py libcamera -# $ mv build/src/py/libcamera-stubs/* build/src/py/libcamera/ -- cgit v1.2.1