From: Pablo Neira Ayuso Date: Mon, 21 Aug 2023 20:03:54 +0000 (+0200) Subject: INSTALL: provide examples to install python bindings X-Git-Tag: v1.0.9~199 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97c28c926096950f1646c99b85a31de309429a0c;p=thirdparty%2Fnftables.git 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 --- 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 ===========