-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from maxbachmann/master
replace python-Levenshtein with rapidfuzz
- Loading branch information
Showing
15 changed files
with
259 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,25 +5,20 @@ | |
# This file is part of thefuzz. | ||
|
||
from thefuzz import __version__ | ||
import os | ||
|
||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
|
||
def open_file(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)) | ||
from setuptools import setup | ||
|
||
with open('README.rst') as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='thefuzz', | ||
version=__version__, | ||
author='Adam Cohen', | ||
author_email='[email protected]', | ||
packages=['thefuzz'], | ||
extras_require={'speedup': ['python-levenshtein>=0.12']}, | ||
# keep for backwards compatibility of projects depending on `thefuzz[speedup]` | ||
extras_require={'speedup': []}, | ||
install_requires= ['rapidfuzz>=3.0.0, < 4.0.0'], | ||
url='https://github.com/seatgeek/thefuzz', | ||
license="GPLv2", | ||
classifiers=[ | ||
|
@@ -39,6 +34,7 @@ def open_file(fname): | |
'Programming Language :: Python :: 3 :: Only', | ||
], | ||
description='Fuzzy string matching in python', | ||
long_description=open_file('README.rst').read(), | ||
long_description=long_description, | ||
zip_safe=True, | ||
python_requires='>=3.7' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.