-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (64 loc) · 2.02 KB
/
Copy pathsetup.py
File metadata and controls
67 lines (64 loc) · 2.02 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
MedTextCN - 中文医疗文本智能分析工具包
Chinese Medical Text Intelligence Toolkit
安装配置文件
"""
from setuptools import setup, find_packages
setup(
name="medtextcn",
version="1.0.0",
description="中文医疗文本智能分析工具包 - Chinese Medical Text Intelligence Toolkit",
long_description=open("README.md", encoding="utf-8").read() if True else "",
long_description_content_type="text/markdown",
author="gitstq",
author_email="",
url="https://github.com/gitstq/medtextcn",
license="MIT",
python_requires=">=3.9",
packages=find_packages(exclude=["tests*", "docs*", "examples*"]),
include_package_data=True,
install_requires=[
"jieba>=0.42.1",
"faker>=22.0.0",
"fastapi>=0.110.0",
"uvicorn[standard]>=0.29.0",
"pydantic>=2.0.0",
"rich>=13.0.0",
"click>=8.1.0",
"opencc-python-reimplemented>=0.1.7",
],
extras_require={
"torch": [
"transformers>=4.30.0",
"torch>=2.0.0",
],
"dev": [
"pytest>=7.0.0",
"flake8>=6.0.0",
"black>=23.0.0",
],
},
entry_points={
"console_scripts": [
"medtextcn=medtextcn.__main__:cli",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Linguistic",
"Natural Language :: Chinese (Simplified)",
],
zip_safe=False,
)