-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
020e169
commit bfd69b8
Showing
3 changed files
with
32 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
#! -*- coding: utf-8 -*- | ||
|
||
import codecs | ||
import pathlib | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
here = pathlib.Path(__file__).parent.resolve() | ||
long_description = (here / "README.md").read_text(encoding="utf-8") | ||
with codecs.open("requirements.txt", "r", "utf8") as reader: | ||
install_requires = list(map(lambda x: x.strip(), reader.readlines())) | ||
|
||
setup( | ||
name='text-sim', | ||
version='0.0.1', | ||
description='an elegant text-sim', | ||
long_description='text-sim: https://github.com/DengBoCong/sim', | ||
name="text-sim", | ||
version="1.0.7", | ||
description="Chinese text similarity calculation package of Tensorflow/Pytorch", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
license='MIT License', | ||
url='https://github.com/DengBoCong/sim', | ||
author='DengBoCong', | ||
author_email='[email protected]', | ||
install_requires=['scikit-learn>=0.23.2', 'numpy>=1.19.2'], | ||
license="MIT License", | ||
url="https://github.com/DengBoCong/text-similarity", | ||
author="DengBoCong", | ||
author_email="[email protected]", | ||
install_requires=install_requires, | ||
packages=find_packages(), | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
keywords="similarity, tensorflow, pytorch, classification", | ||
project_urls={ | ||
"Bug Reports": "https://github.com/DengBoCong/text-similarity/issues", | ||
"Funding": "https://pypi.org/project/text-sim/", | ||
"Source": "https://github.com/DengBoCong/text-similarity", | ||
}, | ||
) |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! -*- coding: utf-8 -*- | ||
|
||
name = "sim" | ||
__version__ = "0.0.1" | ||
__version__ = "1.0.7" |