forked from XuMayi/PyABSA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (43 loc) · 1.6 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
# -*- coding: utf-8 -*-
# file: setup.py
# time: 2021/4/22 0022
# author: yangheng <yangheng@m.scnu.edu.cn>
# github: https://github.com/yangheng95
# Copyright (C) 2021. All Rights Reserved.
from setuptools import setup, find_packages
from pyabsa import __name__, __version__
from pathlib import Path
cwd = Path(__file__).parent
long_description = (cwd / "README.md").read_text(encoding='utf8')
setup(
name=__name__,
version=__version__,
description='This tool provides the state-of-the-art models for aspect term extraction (ATE), aspect polarity classification (APC), and text classification.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/yangheng95/pyabsa',
# Author details
author='Yang Heng',
author_email='yangheng@m.scnu.edu.cn',
python_requires=">=3.6",
packages=find_packages(),
include_package_data=True,
exclude_package_date={'': ['.gitignore']},
# Choose your license
license='MIT',
install_requires=['findfile>=1.7.3',
'autocuda>=0.9',
'metric-visualizer>=0.4.12',
'spacy',
'networkx',
'seqeval',
'update_checker',
'typing_extensions',
'tqdm',
'termcolor',
'gitpython',
'gdown',
'4.5<transformers<5.0',
'torch>=1.0',
'sentencepiece'],
)