forked from barrust/pyprobables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (61 loc) · 1.79 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
59
60
61
62
63
64
65
66
67
68
""" Module Installation script """
import io
import setuptools
from probables import (
__author__,
__bugtrack_url__,
__email__,
__license__,
__url__,
__version__,
)
def read_file(filepath):
""" read the file """
with io.open(filepath, "r") as filepointer:
res = filepointer.read()
return res
KEYWORDS = [
"python",
"probabilistic",
"data-structure",
"bloom",
"filter",
"count-min",
"sketch",
"bloom-filter",
"count-min-sketch",
"cuckoo-filter",
]
setuptools.setup(
name="pyprobables",
version=__version__,
author=__author__,
author_email=__email__,
description="Probabilistic data structures in python",
license=__license__,
keywords=" ".join(KEYWORDS),
url=__url__,
download_url="{0}/tarball/v{1}".format(__url__, __version__),
bugtrack_url=__bugtrack_url__,
install_requires=read_file("requirements.txt").splitlines(),
packages=setuptools.find_packages(include=["probables", "probables.*"]),
long_description=read_file("README.rst"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
test_suite="tests",
)