-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
29 lines (27 loc) · 938 Bytes
/
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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from pybind11.setup_helpers import build_ext, intree_extensions
if __name__ == "__main__":
ext_modules = intree_extensions(["stringcompare/distance/_distance.cpp"])
setup(
ext_modules=ext_modules,
name="stringcompare",
version="0.1.0",
author="Olivier Binette",
author_email="[email protected]",
description="Efficient string comparison functions.",
#license="",
#license_files="",
keywords=[
"record-linkage",
"string-distance",
"edit-distance",
"levenshtein",
"string-matching",
],
url="https://github.com/OlivierBinette/StringCompare",
include_package_data=True,
packages=find_packages(),
install_requires=["numpy", "pybind11"],
cmdclass={"build_ext": build_ext},
)