2021-12-19 14:50:40 +00:00
|
|
|
from skbuild import setup
|
2022-01-06 22:37:58 +00:00
|
|
|
import rapidfuzz_capi
|
2021-08-31 22:09:36 +00:00
|
|
|
|
2021-12-30 21:57:40 +00:00
|
|
|
with open('README.md', 'rt', encoding="utf8") as f:
|
2021-12-19 14:50:40 +00:00
|
|
|
readme = f.read()
|
2020-02-29 17:17:00 +00:00
|
|
|
|
2021-12-19 14:50:40 +00:00
|
|
|
setup(
|
|
|
|
name="rapidfuzz",
|
2022-02-25 17:52:23 +00:00
|
|
|
version="2.0.5",
|
2022-03-06 15:58:47 +00:00
|
|
|
install_requires=["jarowinkler >= 1.0.0, < 1.1.0"],
|
2021-12-19 14:50:40 +00:00
|
|
|
extras_require={'full': ['numpy']},
|
|
|
|
url="https://github.com/maxbachmann/RapidFuzz",
|
|
|
|
author="Max Bachmann",
|
2022-03-06 15:58:47 +00:00
|
|
|
author_email="pypi@maxbachmann.de",
|
2021-12-19 14:50:40 +00:00
|
|
|
description="rapid fuzzy string matching",
|
|
|
|
long_description=readme,
|
|
|
|
long_description_content_type="text/markdown",
|
2020-02-29 17:17:00 +00:00
|
|
|
|
2021-12-19 14:50:40 +00:00
|
|
|
license="MIT",
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"License :: OSI Approved :: MIT License"
|
|
|
|
],
|
2021-08-31 22:09:36 +00:00
|
|
|
|
2022-01-12 20:08:06 +00:00
|
|
|
packages=["rapidfuzz", "rapidfuzz/distance"],
|
2022-01-06 22:37:58 +00:00
|
|
|
python_requires=">=3.6",
|
|
|
|
|
2022-01-17 15:53:11 +00:00
|
|
|
cmake_args=[f'-DRF_CAPI_PATH:STRING={rapidfuzz_capi.get_include()}']
|
2021-12-19 14:50:40 +00:00
|
|
|
)
|