diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-08-21 22:03:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-08-21 22:04:26 +0200 |
commit | 97c28c926096950f1646c99b85a31de309429a0c (patch) | |
tree | b4fa62f4853ab1b1378f21a70fe8edc6a6664d03 /INSTALL | |
parent | 7076523e482110d59c4456f4a795581a2ca39c41 (diff) |
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 <jeremy@azazel.net>.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 =========== |