From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E673EB64D9 for ; Fri, 7 Jul 2023 21:18:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB729865B3; Fri, 7 Jul 2023 23:17:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PWUnBEPO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 64FD286442; Fri, 7 Jul 2023 23:17:57 +0200 (CEST) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D838E861A5 for ; Fri, 7 Jul 2023 23:17:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.cournoyer@gmail.com Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-635e8536ed6so16537096d6.0 for ; Fri, 07 Jul 2023 14:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688764673; x=1691356673; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v3RTaAU+a6nKVezI3REA05a2teXAhYhm/9WQTgtRJwI=; b=PWUnBEPO8xvtCYV5nkGJn4m62tbtuoiI470Tyw9D9DNRs2KcnxC+agrCE1PkOsyL2K azYHjyBIwgp39rG3b7YZpReyPSvWMg/w/rdN7K2nPkhioBFVexvTaPQp1RUqLhhvUpD9 gcbjcFPtw/gsM+SrsGXicPBej722bGdFj4fCn0ADkZd4sPoj03+tV5ZaZucsaILOVAut ldarCVBiwqy+/GWdWBuKdacLbVw8e2bHEnewI5PtM39wIn8cQ8I7Gwiop7zaGfqLF7eE jDjW+gu9pM52V+6RLCPM8Lfj+wMNtD9zkMsHzf3/nL3hz+N5T42Br8n6j9mJYM7n4zqN xhrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688764673; x=1691356673; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v3RTaAU+a6nKVezI3REA05a2teXAhYhm/9WQTgtRJwI=; b=GMzgliqkrxR3kZbt7zqRZUUd7Rxp7tuGp3j9jjO/aJAEDBj62mmGYewcWN9FrA98HR wrQsRqOPDyh6JDjOj9i8l1QsHMKOJVHVO1rp6z705Uwsp8VacKV71YqL/vVRmb8UWB9U 5tQWOrO7IqfwZtsG4XdJL5/LhJ/71Dev0kH8nIKd+VSzZkHj0GajQguYBSk2jupD9itG /cm2jhDiDsepfVVKhTgX66dbX73wbE2sYye/eeLCYGp1vqT56Y/Ff5BWhL1HyWd3ZGqe tMvzVEOlb84P5ghCeIco2pTk+rl+/Hn0/jAw/dOwIRX1cDJQcfSwYi29zJpjzrGsIPNN mEqw== X-Gm-Message-State: ABy/qLZVc3vIFYI3e6AkHfr5oeES4BWDtp0zMWb5Iv0wmlVQB+I6nszv gMwtkX228EwpjjQ7b4mt6e35sV2GaLE= X-Google-Smtp-Source: APBJJlFAcnz7ZmRAqoMwvSg37/lEQ0BsVjWRJ5VevQxfWvqotH78s/iE16/w/OdAAhGSosCe4gsvGw== X-Received: by 2002:a0c:cb11:0:b0:636:d181:46ec with SMTP id o17-20020a0ccb11000000b00636d18146ecmr5380199qvk.32.1688764673229; Fri, 07 Jul 2023 14:17:53 -0700 (PDT) Received: from localhost.localdomain (dsl-205-236-230-179.b2b2c.ca. [205.236.230.179]) by smtp.gmail.com with ESMTPSA id n15-20020a0cdc8f000000b00631fea4d5bcsm2477367qvk.95.2023.07.07.14.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 14:17:52 -0700 (PDT) From: Maxim Cournoyer To: u-boot@lists.denx.de Cc: Simon Glass , Maxim Cournoyer Subject: [PATCH 2/2] tools: Fix package discovery in pyproject.toml of u_boot_pylib. Date: Fri, 7 Jul 2023 17:15:32 -0400 Message-Id: <20230707211532.1584-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230707211532.1584-1-maxim.cournoyer@gmail.com> References: <20230707211532.1584-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean When building from source, setuptools would complain about not finding package via its auto-discovery mechanism. Manually specify how to locate the files, relative to the package's directory. * tools/u_boot_pylib/pyproject.toml: New tool.setuptools.packages.find section. Signed-off-by: Maxim Cournoyer --- tools/u_boot_pylib/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml index 31a4c0adae..037c5d629e 100644 --- a/tools/u_boot_pylib/pyproject.toml +++ b/tools/u_boot_pylib/pyproject.toml @@ -20,3 +20,7 @@ classifiers = [ [project.urls] "Homepage" = "https://u-boot.readthedocs.io" "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues" + +[tool.setuptools.packages.find] +where = [".."] +include = ["u_boot_pylib*"] -- 2.40.1