-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
41 lines (37 loc) · 1.51 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
from setuptools import find_packages, setup
from setuptools.extension import Extension
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='weighted_levenshtein',
version='0.2.2',
description=(
'Library providing functions to calculate Levenshtein distance, Optimal String Alignment distance, '
'and Damerau-Levenshtein distance, where the cost of each operation can be weighted by letter.'
),
long_description=long_description,
url='https://github.com/infoscout/weighted-levenshtein',
author='David Su (InfoScout)',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Cython',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
],
keywords='Levenshtein Damerau weight weighted distance',
test_suite='test.test',
packages=find_packages(exclude=('test', 'docs',)),
package_data={
'weighted_levenshtein': ['clev.pxd', 'clev.pyx'],
},
ext_modules=[Extension("weighted_levenshtein.clev", ['weighted_levenshtein/clev.pyx'])],
)