代码拉取完成,页面将自动刷新
# -*- coding=utf-8 -*-
import os
import re
from setuptools import setup, find_packages
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
LONGDOC = '''
==================================== JioNLP ====================================
一个全面简便的中文 NLP 工具包,做您的 NLP 任务的垫 jio 石。提供丰富的 NLP 功能。
安装:
```
$ git clone https://github.com/dongrixinyu/JioNLP
$ cd ./JioNLP
$ pip install .
```
导入:
```
>>> import jionlp as jio
```
'''
__version__ = ''
with open(os.path.join(DIR_PATH, 'README.md'),
'r', encoding='utf-8') as f:
readme_lines = f.readlines()
version_pattern = re.compile('badge/version-(\d\.\d+\.\d+)-')
for line in readme_lines:
result = version_pattern.search(line)
if result is not None:
__version__ = result.group(1)
LONGDOC = '\n'.join(readme_lines)
__name__ = 'jionlp'
__author__ = "dongrixinyu"
__copyright__ = "Copyright 2020, dongrixinyu"
__credits__ = []
__license__ = "Apache License 2.0"
__maintainer__ = "dongrixinyu"
__email__ = "dongrixinyu.89@163.com"
__url__ = 'https://github.com/dongrixinyu/JioNLP'
__description__ = 'Preprocessing tool for Chinese NLP'
with open(os.path.join(DIR_PATH, 'requirements.txt'),
'r', encoding='utf-8') as f:
requirements = f.readlines()
setup(name=__name__,
version=__version__,
url=__url__,
author=__author__,
author_email=__email__,
description=__description__,
long_description=LONGDOC,
long_description_content_type='text/markdown',
license=__license__,
py_modules=[],
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
entry_points={
'console_scripts': [
# 'scheduler_start = algorithm_platform.scheduler.server: start',
]
},
test_suite='nose.collector',
tests_require=['nose'])
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。