From 97c28c926096950f1646c99b85a31de309429a0c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 21 Aug 2023 22:03:54 +0200 Subject: INSTALL: provide examples to install python bindings Provide a bit more details on how to install python bindings with legacy setup.py and pip with .toml file. Original text from Jeremy Sowden . Signed-off-by: Pablo Neira Ayuso --- INSTALL | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 53021e5a..5d45ec98 100644 --- a/INSTALL +++ b/INSTALL @@ -84,10 +84,16 @@ Installation instructions for nftables Python support ============== - CPython bindings are available for nftables under the py/ folder. + CPython bindings are available for nftables under the py/ folder. They can be + installed using pip: - A pyproject.toml config file and legacy setup.py script are provided to install - it. + python -m pip install py/ + + A legacy setup.py script can also be used: + + ( cd py && python setup.py install ) + + However, this method is deprecated. Source code =========== -- cgit v1.2.3