From bf9653667a39e32973466a202fdf9edcf881075a Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 19 Jun 2018 23:46:53 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- py/setup.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 py/setup.py (limited to 'py/setup.py') diff --git a/py/setup.py b/py/setup.py new file mode 100755 index 00000000..ef143c42 --- /dev/null +++ b/py/setup.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python +from distutils.core import setup +from nftables import NFTABLES_VERSION + +setup(name='nftables', + version=NFTABLES_VERSION, + description='Libnftables binding', + author='Netfilter project', + author_email='coreteam@netfilter.org', + url='https://netfilter.org/projects/nftables/index.html', + packages=['nftables'], + provides=['nftables'], + package_dir={'nftables':'.'}, + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python', + 'Topic :: System :: Networking :: Firewalls', + ], + ) -- cgit v1.2.3