2018-08-23 13:41:34 +00:00
|
|
|
from setuptools import setup, find_packages, Extension
|
2018-04-27 12:09:49 +00:00
|
|
|
|
|
|
|
with open('./README.md', 'r') as f:
|
|
|
|
long_description = f.read()
|
2018-04-26 15:40:12 +00:00
|
|
|
|
2018-08-23 13:41:34 +00:00
|
|
|
EXTENSIONS = [
|
|
|
|
Extension(
|
|
|
|
'fog.metrics.levenshtein',
|
|
|
|
['fog/metrics/levenshtein.c']
|
|
|
|
)
|
|
|
|
]
|
|
|
|
|
2018-04-26 15:40:12 +00:00
|
|
|
setup(name='fog',
|
2018-12-22 18:17:51 +00:00
|
|
|
version='0.6.0',
|
2018-06-22 15:57:25 +00:00
|
|
|
description='A fuzzy matching & clustering library for python.',
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
url='http://github.com/Yomguithereal/fog',
|
|
|
|
license='MIT',
|
|
|
|
author='Guillaume Plique',
|
|
|
|
author_email='kropotkinepiotr@gmail.com',
|
|
|
|
keywords='fuzzy',
|
|
|
|
python_requires='>=3',
|
|
|
|
packages=find_packages(exclude=['experiments', 'test']),
|
2018-08-23 13:41:34 +00:00
|
|
|
ext_modules=EXTENSIONS,
|
2018-06-22 15:57:25 +00:00
|
|
|
install_requires=[
|
2019-04-16 15:02:16 +00:00
|
|
|
'dill>=0.2.7.1',
|
|
|
|
'phylactery>=0.1.1',
|
|
|
|
'Unidecode>=1.0.22'
|
2018-06-22 15:57:25 +00:00
|
|
|
],
|
|
|
|
entry_points={
|
2018-08-22 16:26:14 +00:00
|
|
|
'console_scripts': ['fog=fog.cli.__main__:main']
|
2018-06-22 15:57:25 +00:00
|
|
|
},
|
|
|
|
zip_safe=True)
|