-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.66 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
from setuptools import setup, find_packages
try:
import torch
import torch_geometric
except Exception:
raise Exception('Please install PyTorch and PyTorch Geometric manually first.\n' +
'View CRSLab GitHub page for more information: https://github.com/RUCAIBox/CRSLab')
setup_requires = []
install_requires = [
'numpy~=1.19.4',
'sentencepiece<0.1.92',
"dataclasses~=0.7;python_version<'3.7'",
'transformers~=4.1.1',
'fasttext~=0.9.2',
'pkuseg~=0.0.25',
'pyyaml~=5.4',
'tqdm~=4.55.0',
'loguru~=0.5.3',
'nltk~=3.4.4',
'requests~=2.25.1',
'scikit-learn~=0.24.0',
'fuzzywuzzy~=0.18.0',
'tensorboard~=2.4.1',
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces"
]
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name='bias_crs',
version='0.0.0', # please remember to edit crslab/__init__.py in response, once updating the version
author='UCL-WI',
author_email='[email protected]',
description='An Open-Source Toolkit for analysis bias of Conversational Recommender System(CRS)',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/wangxieric/Bias-CRS',
packages=[
package for package in find_packages()
if package.startswith('bias_crs')
],
classifiers=classifiers,
install_requires=install_requires,
setup_requires=setup_requires,
python_requires='>=3.6',
)