From patchwork Wed May 18 13:13:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 15954 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 703FEC3256 for ; Wed, 18 May 2022 13:13:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 95E5B65677; Wed, 18 May 2022 15:13:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652879634; bh=e8GwuZ1+hql6DFczVVZA21/83X36EjaGca/9EKOONdU=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=fky4om7y7mL9b0qdROmGyXBgYme70iqTBIjOo4ttkLuxSWTG69cNqObkFxPKA0wxg BxH4s0gRUrpsakh6Upfp9jL9Ppb77q73FOo8YkzFBtvNlpEruLihQsquMWVFwhyb2+ W7DGEl3MgUzXaxJ5ZZQLJ3+OuqVsj8DiTN5cABrcDDW/7OrguAHOumvklfHagPdWrN ijzddQV84HMWOgwelSi7K17EDmTNsyFHNOtw5fw0/mcnRUmR82eL0xxxnB6VgUOyty aJyqnYOJcZWMbHyoXmlawQO7W4vLuox/ol5Azb/ueMXhHi58iwxopRYvtzTcASjH8H a8OKBfCr6bRKg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F09F265660 for ; Wed, 18 May 2022 15:13:47 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="GxBhuAkm"; dkim-atps=neutral Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 54A6E1BBB; Wed, 18 May 2022 15:13:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652879627; bh=e8GwuZ1+hql6DFczVVZA21/83X36EjaGca/9EKOONdU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxBhuAkm68AXp4Z+LmvzVEh30qzFY22Njum2d2TRCBA38CrkJsPzi0ZwlGVQX6b3W xOcF2CN1lkLbXNOZJ9kfDy/VmYVEM/WzGtNzSuIlv1melVRS/j5W4a76G+SZ0rSL+Z 2jQaudyLshlTWpLn8v+SMcwJWae6r1qpBWo5PDmY= To: libcamera-devel@lists.libcamera.org, David Plowman , Kieran Bingham , Laurent Pinchart , Jacopo Mondi Date: Wed, 18 May 2022 16:13:14 +0300 Message-Id: <20220518131329.66994-4-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> References: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 03/18] py: add comment about the symlinks X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add comment about the symlinks to clarify the purpose. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/py/libcamera/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build index 3c0828b8..427716d7 100644 --- a/src/py/libcamera/meson.build +++ b/src/py/libcamera/meson.build @@ -54,6 +54,9 @@ pycamera = shared_module('_libcamera', dependencies : pycamera_deps, cpp_args : pycamera_args) +# Create symlinks from the build dir to the source dir so that we can use the +# Python module directly from the build dir. + run_command('ln', '-fsT', files('__init__.py'), meson.current_build_dir() / '__init__.py', check: true)