forked from ldx/python-iptables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 864 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
"""python-iptables setup script"""
from distutils.core import setup, Extension
# make pyflakes happy
__pkgname__ = None
__version__ = None
execfile("iptc/version.py")
# build/install python-iptables
setup(
name=__pkgname__,
version=__version__,
description="Python bindings for iptables",
author="Nilvec",
author_email="[email protected]",
url="http://nilvec.com/",
packages=["iptc"],
package_dir={"iptc": "iptc"},
ext_modules=[Extension("libxtwrapper",
["libxtwrapper/wrapper.c"])],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache License, Version 2.0",
"Natural Language :: English",
"Topic :: Networking",
],
license="Apache License, Version 2.0",
)