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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E0C5EE49A4 for ; Sun, 20 Aug 2023 22:07:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230418AbjHTWH1 (ORCPT ); Sun, 20 Aug 2023 18:07:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230198AbjHTWH0 (ORCPT ); Sun, 20 Aug 2023 18:07:26 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD9379D for ; Sun, 20 Aug 2023 15:07:24 -0700 (PDT) From: Pablo Neira Ayuso To: netfilter-devel@vger.kernel.org Cc: jeremy@azazel.net, fw@strlen.de Subject: [PATCH nft] INSTALL: provide examples to install python bindings Date: Mon, 21 Aug 2023 00:07:20 +0200 Message-Id: <20230820220720.49615-1-pablo@netfilter.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Provide examples to install python bindings with legacy setup.py and pip with .toml file. Signed-off-by: Pablo Neira Ayuso --- Florian noticed that `make install` does install python bindings anymore when running tests/py. Provide a bit more information on how to manually install python bindings in the INSTALL file. INSTALL | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 53021e5aafc3..6b026e2c20c1 100644 --- a/INSTALL +++ b/INSTALL @@ -86,8 +86,13 @@ Installation instructions for nftables CPython bindings are available for nftables under the py/ folder. - A pyproject.toml config file and legacy setup.py script are provided to install - it. + A legacy setup.py script are provided to install: + + python setup.py install + + Alternatively, a pyproject.toml config file is also provided install: + + python -m pip install . Source code =========== -- 2.30.2