forked from thu-coai/ConvLab-2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·97 lines (92 loc) · 2.57 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
'''
setup.py for ConvLab-2
'''
import sys
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class LibTest(TestCommand):
def run_tests(self):
# import here, cause outside the eggs aren't loaded
ret = os.system(
"pytest --cov=ConvLab-2 tests/ --cov-report term-missing")
sys.exit(ret >> 8)
setup(
name='ConvLab-2',
version='1.0.0',
packages=find_packages(exclude=[]),
license='Apache',
description='Task-oriented Dialog System Toolkits',
long_description=open('README.md', encoding='UTF-8').read(),
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
install_requires=[
'nltk>=3.4',
'tqdm>=4.30',
'checksumdir>=1.1',
'dataclasses',
'visdom',
'Pillow',
'future',
'torch',
'numpy>=1.15.0',
'scipy',
'scikit-learn==0.20.3',
'pytorch-pretrained-bert>=0.6.1',
'transformers>=4.28.0',
'tensorboard>=1.14.0',
'tensorboardX==1.7',
'tokenizers',
'overrides==4.1.2',
'allennlp==0.9.0',
'requests',
'simplejson',
'spacy==2.1.0', # ==2.1.9',
'unidecode',
'jieba',
'embeddings',
'quadprog',
'pyyaml',
'fuzzywuzzy',
'python-Levenshtein',
'json_lines',
'gtts',
'openai',
'lexical_diversity',
'pandas',
'pydub'
],
extras_require={
'develop': [
"python-coveralls",
"pytest-dependency",
"pytest-mock",
"requests-mock",
"pytest>=3.6.0",
"pytest-cov==2.4.0",
"checksumdir",
"bs4",
"lxml",
]
},
cmdclass={'test': LibTest},
entry_points={
'console_scripts': [
"ConvLab-2-report=convlab2.scripts:report"
]
},
include_package_data=True,
url='https://github.com/thu-coai/ConvLab-2',
author='thu-coai',
author_email='thu-coai-developer@googlegroups.com',
python_requires='>=3.5,<3.10',
zip_safe=False
)