-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
44 lines (39 loc) · 1.45 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
from importlib.machinery import SourceFileLoader
from pathlib import Path
from setuptools import find_packages, setup
project_root = Path(__file__).parent
code_root = project_root / "names_matcher"
metadata = SourceFileLoader("metadata", str(code_root / "metadata.py")).load_module()
with open(project_root / "README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name=metadata.__package__.replace(".", "-"),
description=metadata.__description__,
long_description=long_description,
long_description_content_type="text/markdown",
version=metadata.__version__,
license="Apache-2.0",
author="Athenian",
author_email="vadim@athenian.co",
url="https://github.com/athenianco/names-matcher",
packages=find_packages(exclude=["tests"]),
keywords=["fuzzy matching"],
install_requires=["numpy>=1.20.0",
"lapjv>=1.3.14,<2.0",
"rapidfuzz>=2.0.0,<3.0",
"unidecode>=1.0.0,<2.0",
],
tests_require=[],
package_data={
"": ["README.md"],
"names_matcher": ["../requirements.txt"],
},
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
],
)