-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (52 loc) · 2.28 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# This file is part of Pytricia.
# Joel Sommers <[email protected]>
#
# Pytricia is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pytricia is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pytricia. If not, see <http://www.gnu.org/licenses/>.
#
from setuptools import setup, Extension
setup(name="pytricia",
version="1.0.2",
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 :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"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 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 nicely in Python 3, and
* there are a few nicer library features for manipulating the structure.
See the github repo for documentation and some performance numbers: <https://github.com/jsommers/pytricia>.
Pytricia is released under terms of the GNU Lesser General Public License,
version 3.
'''
)