forked from jsommers/pytricia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (35 loc) · 1.52 KB
/
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
33
34
35
36
37
38
39
40
from distutils.core import setup, Extension
setup(name="pytricia",
version="0.1",
description="An efficient IP address storage and lookup module for Python.",
author="Joel Sommers",
author_email="[email protected]",
url="https://github.com/jsommers/pytricia",
download_url="http://cs.colgate.edu/~jsommers/downloads/pytricia-0.1.tar.gz",
keywords=['patricia tree','IP addresses'],
classifiers=[
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: Log Analysis",
"Topic :: Scientific/Engineering",
],
ext_modules=[
Extension("pytricia", ["pytricia.c","patricia.c"]),
],
long_description='''
Pytricia is a new python module to store IP prefixes in a
patricia tree. It's based on Dave Plonka's modified patricia tree
code, and has three things to recommend it over related modules
(including py-radix and SubnetTree):
* it's faster,
* it works in Python 3, and
* there are a few nicer library features for manipulating the structure.
Some performance numbers to back up claim 1 will be included in the
distro in the future. In the meanwhile, see for yourself.
Pytricia is released under terms of the GPLv2.
'''
)