-
Notifications
You must be signed in to change notification settings - Fork 67
/
setup.py
105 lines (90 loc) · 2.65 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
from setuptools import setup, find_packages
test_packages = [
"pytest>=5.4.3",
"pytest-cov>=2.6.1"
]
docs_packages = [
"mkdocs==1.1",
"mkdocs-material==4.6.3",
"mkdocstrings==0.8.0",
]
base_packages = [
"numpy>=1.20.0",
"scipy>= 1.3.1",
"pandas>= 0.25.3",
"tqdm>=4.41.1",
"joblib>= 0.14.0",
"matplotlib>= 3.2.2",
"seaborn>= 0.11.0",
"rapidfuzz>= 0.13.1",
"scikit_learn>= 0.22.2.post1"
]
gensim_packages = [
"gensim>=4.0.0"
]
sbert_packages = [
"sentence-transformers>=0.4.1"
]
fast_cosine = [
"sparse_dot_topn>=0.2.9"
]
embeddings_packages = [
"torch>=1.4.0",
"flair>= 0.7"
]
spacy_packages = [
"spacy>=3.0.1"
]
use_packages = [
"tensorflow",
"tensorflow_hub",
"tensorflow_text"
]
extra_packages = embeddings_packages + fast_cosine + sbert_packages + spacy_packages + use_packages
dev_packages = docs_packages + test_packages + extra_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="polyfuzz",
packages=find_packages(exclude=["notebooks", "docs"]),
version="0.4.2",
author="Maarten Grootendorst",
author_email="[email protected]",
description="PolyFuzz performs fuzzy string matching, grouping, and evaluation.",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Documentation": "https://maartengr.github.io/polyfuzz/",
"Source Code": "https://github.com/MaartenGr/PolyFuzz/",
"Issue Tracker": "https://github.com/MaartenGr/PolyFuzz/issues",
},
url="https://github.com/MaartenGr/PolyFuzz",
keywords="nlp string matching embeddings levenshtein tfidf bert",
classifiers=[
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
],
install_requires=base_packages,
extras_require={
"test": test_packages,
"docs": docs_packages,
"dev": dev_packages,
"flair": embeddings_packages,
"fast": fast_cosine,
"sbert": sbert_packages,
"use": use_packages,
"gensim": gensim_packages,
},
python_requires='>=3.6',
)