-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (37 loc) · 1.31 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("qanom/version.txt", "r") as f:
version = f.read().strip()
setuptools.setup(
name="qanom",
version=version,
author="Ayal Klein",
author_email="[email protected]",
description="package for Question-Answer driven Semantic Role Labeling for Nominalizations (QANom)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kleinay/QANom",
packages=setuptools.find_packages(),
install_requires=[
'transformers>=2.11.0',
'torch>=1.4',
'nltk',
'pandas',
'tqdm',
'scikit-learn',
'constrained_decoding', # for `dfa_fill_qasrl_slots` used in `QASRL_Pipeline`
],
package_data={
"": ["qanom/resources/catvar/catvar21.signed", "qanom/resources/catvar/LICENCE.txt", "qanom/resources/catvar/README.md",
"qanom/resources/wiktionary/en_verb_inflections.txt",
"qanom/resources/verb-to-nom-heuristic/nom_verb_pairs.txt"]
},
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
)