forked from ScandEval/ScandEval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (37 loc) · 1.64 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
from setuptools import setup, find_packages
from pathlib import Path
from bump_version import get_current_version
PYTORCH_REQUIRES = ['torch>=1.6.0']
JAX_REQUIRES = PYTORCH_REQUIRES + ['jaxlib>=0.1.75', 'jax>=0.2.26', 'flax>=0.3.6']
SPACY_REQUIRES = ['spacy>=3.2.0', 'spacy-transformers>=1.1.0']
ALL_REQUIRES = (PYTORCH_REQUIRES +
JAX_REQUIRES +
SPACY_REQUIRES)
setup(name='scandeval',
version=get_current_version(return_tuple=False),
description='',
long_description=Path('README.md').read_text(),
long_description_content_type='text/markdown',
url='https://github.com/saattrupdan/scandeval',
author='Dan Saattrup Nielsen',
author_email='[email protected]',
license='MIT',
classifiers=['License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'],
packages=find_packages(exclude=('tests',)),
include_package_data=True,
install_requires=['numpy>=1.19.2',
'transformers>=4.5.0',
'datasets>=1.11.0',
'requests>=2.19.0',
'tqdm>=4.62.3',
'sentencepiece>=0.1.96',
'seqeval>=1.0.0',
'bs4>=0.0.1',
'termcolor>=1.0.0'],
extras_require=dict(pytorch=PYTORCH_REQUIRES,
spacy=SPACY_REQUIRES,
jax=JAX_REQUIRES,
all=ALL_REQUIRES),
entry_points=dict(console_scripts=['scandeval=scandeval.cli:benchmark']))