-
Notifications
You must be signed in to change notification settings - Fork 293
/
setup.py
87 lines (82 loc) · 2.5 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
"""
Setup script for datasketch package
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get the code version
version = {}
with open(path.join(here, "datasketch/version.py")) as fp:
exec(fp.read(), version)
__version__ = version['__version__']
# now we have a `__version__` variable
setup(
name='datasketch',
version=__version__,
description='Probabilistic data structures for processing and searching very large datasets',
long_description=long_description,
url='https://ekzhu.github.io/datasketch',
project_urls={
'Source': 'https://github.com/ekzhu/datasketch',
},
author='ekzhu',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Database',
'Topic :: Scientific/Engineering :: Information Analysis',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords='database datamining',
packages=find_packages(include=['datasketch*']),
install_requires=[
'numpy>=1.11',
'scipy>=1.0.0',
],
extras_require={
'cassandra': [
'cassandra-driver>=3.20',
],
'redis': [
'redis>=2.10.0',
],
'benchmark': [
'pyhash>=0.9.3',
'matplotlib>=3.1.2',
'scikit-learn>=0.21.3',
'scipy>=1.3.3',
'pandas>=0.25.3',
'SetSimilaritySearch>=0.1.7',
'pyfarmhash>=0.2.2',
'nltk>=3.4.5',
],
'test': [
'cassandra-driver>=3.20',
'redis>=2.10.0',
'mock>=2.0.0',
'mockredispy',
'coverage',
'pymongo>=3.9.0',
'nose>=1.3.7',
'nose-exclude>=0.5.0',
'pytest',
],
'experimental_aio': [
"aiounittest ; python_version>='3.6'",
"motor ; python_version>='3.6'",
],
},
)