summaryrefslogtreecommitdiffstats
path: root/py/nftables.py
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2018-06-19 23:46:53 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-20 13:51:41 +0200
commitbf9653667a39e32973466a202fdf9edcf881075a (patch)
treec8723359c0128230b8ced5fcdb7bbb8a2aa6f645 /py/nftables.py
parentcafd5168ba1e234e8ed446bb0eeaf7eb253a66c2 (diff)
python: installation of binding via make install
setup.py is used to build and install the python binding. Call to setup.py are done in Makefile to proceed to build and installation. Signed-off-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'py/nftables.py')
-rw-r--r--py/nftables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/nftables.py b/py/nftables.py
index e6e66fb7..d6135054 100644
--- a/py/nftables.py
+++ b/py/nftables.py
@@ -2,6 +2,8 @@ import json
from ctypes import *
import sys
+NFTABLES_VERSION = "0.1"
+
class Nftables:
"""A class representing libnftables interface"""