-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (57 loc) · 1.56 KB
/
setup.py
File metadata and controls
61 lines (57 loc) · 1.56 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
import pkg_resources
import setuptools
import sys
with open("patapsco/__version__.py") as fp:
ns = {}
exec(fp.read(), ns)
with open("README.md") as fp:
long_description = fp.read()
setuptools.setup(
name="patapsco",
version=ns['__version__'],
description="Cross Language Information Retrieval pipeline",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD",
python_requires=">=3.6.1",
packages=setuptools.find_packages(exclude=['tests']),
include_package_data=True,
install_requires=[
"beautifulsoup4",
"flask",
"flask-cors",
"ftfy",
"jieba",
"ir_datasets",
"luqum",
"more-itertools",
"nltk>=3.6.0",
"numpy",
"parsivar-scale",
"psutil",
"pycountry",
"pydantic>=1.7.1,<1.8.0",
"pymorphy2",
"pyserini==0.13.0",
"pytrec-eval-terrier==0.5.2",
"pyyaml",
"sacremoses",
"spacy>=3.0.0",
"spacy-pkuseg>=0.0.27,<0.1.0",
"sqlitedict",
"stanza>=1.2.1",
],
extras_require={
"dev": ["pytest", "flake8", "autopep8"]
},
entry_points={
"console_scripts": [
"patapsco = patapsco.bin.main:main",
"patapsco-map = patapsco.bin.map:main",
"patapsco-norm = patapsco.bin.normalize:main",
"patapsco-query = patapsco.bin.query:main",
"patapsco-reduce = patapsco.bin.reduce:main",
"patapsco-web = patapsco.bin.web:main",
]
}
)