forked from XuChen0427/FairDiverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (53 loc) · 1.9 KB
/
setup.py
File metadata and controls
62 lines (53 loc) · 1.9 KB
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
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
import os
from setuptools import setup, find_packages
install_requires = [
"numpy>=1.20.3",
"torch>=1.11.0",
"PyYAML>=6.0",
"pandas>=1.2.0",
"scipy",
"cvxpy",
"tqdm>=4.65.0",
"scikit_learn>=1.3.0",
"pot",
"mip>=1.15.0",
"gurobipy>=12.0.1"
]
setup_requires = []
#classifiers = ["License :: OSI Approved :: MIT License"]
long_description = (
"FairDiverse is developed based on Python for "
"reproducing and developing fairness- and diversity-aware "
"IR algorithms in a unified, comprehensive framework for "
"research purpose. In the first version, our library "
"includes 28 fairness- and diversity algorithms and 16 base models, covering "
"pre-processing, in-processing and post-processing"
"for more information: https://github.com/XuChen0427/FairDiverse"
)
# 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="fairdiverse",
version="1.0.0", # please remember to edit recbole/__init__.py in response, once updating the version
description="A unified, comprehensive fairness- and diversity-aware IR library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/XuChen0427/FairDiverse",
author="Chen Xu",
author_email="chenxu0427ruc@gmail.com",
#packages=find_packages(),
packages=[package for package in find_packages() if package.startswith("fairdiverse")],
include_package_data=True,
install_requires=install_requires,
setup_requires=setup_requires,
extras_require=None,
zip_safe=False,
#classifiers=classifiers,
python_requires=">=3.6",
)