forked from yzhangcs/parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (44 loc) · 1.33 KB
/
setup.py
File metadata and controls
46 lines (44 loc) · 1.33 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
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
setup(
name='supar',
version='1.1.3',
author='Yu Zhang',
author_email='yzhang.cs@outlook.com',
description='Syntactic/Semantic Parsing Models',
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
url='https://github.com/yzhangcs/parser',
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Text Processing :: Linguistic'
],
setup_requires=[
'setuptools>=56.0',
],
install_requires=[
'torch>=1.7.1',
'transformers>=4.0.0',
'nltk',
'stanza',
'dill'],
extras_require={
'elmo': ['allennlp']
},
entry_points={
'console_scripts': [
'biaffine-dep=supar.cmds.biaffine_dep:main',
'crf-dep=supar.cmds.crf_dep:main',
'crf2o-dep=supar.cmds.crf2o_dep:main',
'crf-con=supar.cmds.crf_con:main',
'biaffine-sdp=supar.cmds.biaffine_sdp:main',
'vi-sdp=supar.cmds.vi_sdp:main'
]
},
python_requires='>=3.7',
zip_safe=False
)