-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
52 lines (48 loc) · 1.62 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import sys
from pathlib import Path
import setuptools
long_description = (Path(__file__).parent / "README.md").read_text()
if sys.version_info < (3, 6):
sys.exit('Python>=3.6 is required by forte-medical.')
setuptools.setup(
name="forte.health",
version='0.1.0',
url="https://github.com/asyml/ForteHealth",
description="NLP pipeline framework for biomedical and clinical domains",
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache License Version 2.0',
packages=setuptools.find_namespace_packages(
include=['fortex.health', 'ftx.*'],
exclude=["scripts*", "examples*", "tests*"]
),
namespace_packages=["fortex"],
install_requires=[
'forte==0.3.0.dev3',
],
extras_require={
"test": [
"ddt",
"testfixtures",
"transformers==4.2.2",
"protobuf==3.19.4",
"numpy==1.21.6",
'forte @ git+https://github.com/asyml/forte',
],
"scispacy_processor": [
"scispacy==0.5.0",
"en-core-sci-sm @ https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.0/en_core_sci_sm-0.5.0.tar.gz"
],
"xray_image_processor": [
"Pillow==8.4.0",
"transformers==4.18.0",
],
"tagger_normalizer_processor": [
"spacy==3.2.4",
"timexy==0.1.3",
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0.tar.gz"
],
},
include_package_data=True,
python_requires='>=3.6',
)