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>
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
===========