-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (26 loc) · 842 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
30
31
32
33
34
35
# coding: utf-8
"""打包
"""
from pathlib import Path
import setuptools
from document_parser import __version__
with open("README.md", encoding="utf8") as f:
long_description = f.read()
def find_requirements(path: Path):
"""查找所有依赖"""
with path.open() as g:
s = g.read()
return s.split("\n")
setuptools.setup(
name="document-parser",
version=__version__,
url="https://github.com/jlshix/document-parser",
download_url="https://github.com/jlshix/document-parser/releases",
author="jlshix",
author_email="jlshix@163.com",
description="电子病历文书数据解析与标准化",
long_description=long_description,
packages=["document_parser"],
python_requires='>=3.9',
install_requires=find_requirements(path=Path("requirements/requirements.txt")),
)