INSTALL: provide examples to install python bindings
Pablo Neira Ayuso
maintainerPATCH 1/1 INSTALL: provide examples to install python bindings
Provide examples to install python bindings with legacy setup.py and pip with .toml file.
---
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(-)
INSTALL +7 -2
@@ -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 ===========
Signature · 1 line
2.30.2
Quoted 19 lines · Pablo Neira Ayuso
Provide examples to install python bindings with legacy
setup.pyand pip with .toml file.Signed-off-by Pablo Neira Ayuso <[email protected]>---
Florian noticed thatmake installdoes 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(-)INSTALL +0
-0@@ -86,8 +86,13 @@ Installation instructions for nftables CPython bindings are available for nftables under the py/ folder.
INSTALL Installation instructions for nftables · line 95
Quoted 10 lines
INSTALL +7
-2- 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 .
How about just:
CPython bindings are available for nftables under the py/ folder. They can be installed using pip:
python -m pip install py/
J.
Quoted 5 lines
INSTALL +0
-0Source code ===========Signature · 1 line
2.30.2