-
Notifications
You must be signed in to change notification settings - Fork 620
/
setup.py
68 lines (59 loc) · 2.12 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
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
import os
from setuptools import setup, find_packages
install_requires = [
"torch>=1.10.0",
"numpy>=1.17.2",
"scipy>=1.6.0",
"pandas>=1.3.0",
"tqdm>=4.48.2",
"colorlog==4.7.2",
"colorama==0.4.4",
"scikit_learn>=0.23.2",
"pyyaml>=5.1.0",
"tensorboard>=2.5.0",
"thop>=0.1.1.post2207130030",
"tabulate>=0.8.10",
"plotly>=4.0.0",
"texttable>=0.9.0",
"psutil>=5.9.0",
"ray>=1.13.0, <=2.6.3",
]
setup_requires = []
extras_require = {"hyperopt": ["hyperopt==0.2.5"]}
classifiers = ["License :: OSI Approved :: MIT License"]
long_description = (
"RecBole is developed based on Python and PyTorch for "
"reproducing and developing recommendation algorithms in "
"a unified, comprehensive and efficient framework for "
"research purpose. In the first version, our library "
"includes 53 recommendation algorithms, covering four "
"major categories: General Recommendation, Sequential "
"Recommendation, Context-aware Recommendation and "
"Knowledge-based Recommendation. View RecBole homepage "
"for more information: https://recbole.io"
)
# Readthedocs requires Sphinx extensions to be specified as part of
# install_requires in order to build properly.
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
if on_rtd:
install_requires.extend(setup_requires)
setup(
name="recbole",
version="1.2.0", # please remember to edit recbole/__init__.py in response, once updating the version
description="A unified, comprehensive and efficient recommendation library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/RUCAIBox/RecBole",
author="RecBoleTeam",
author_email="[email protected]",
packages=[package for package in find_packages() if package.startswith("recbole")],
include_package_data=True,
install_requires=install_requires,
setup_requires=setup_requires,
extras_require=extras_require,
zip_safe=False,
classifiers=classifiers,
)