Skip to content

Commit 253e770

Browse files
committed
Add setup
1 parent 1d95db0 commit 253e770

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
__pycache__/
44
similarity/__pycache__/
55
venv/
6+
build/
7+
dist/
8+
pystrsim.egg-info/

setup.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import setuptools
2+
3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="pystrsim",
8+
version="0.0.1",
9+
description="A library implementing different string similarity and distance measures",
10+
long_description=long_description,
11+
long_description_content_type="text/markdown",
12+
url="https://github.com/luozhouyang/python-string-similarity",
13+
author="ZhouYang Luo",
14+
author_email="[email protected]",
15+
packages=setuptools.find_packages(),
16+
include_package_data=True,
17+
install_requires=["numpy>=1.14.3"],
18+
license="MIT License",
19+
classifiers=(
20+
"Programming Language :: Python :: 3",
21+
"License :: OSI Approved :: MIT License",
22+
"Operating System :: OS Independent",
23+
)
24+
)

similarity/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__name__ = 'pystrsim'

0 commit comments

Comments
 (0)