-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
75 lines (66 loc) · 2.07 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
from setuptools import setup, find_packages
from os import path, walk
VERSION = "1.0.1"
try:
LONG_DESCRIPTION = open(
path.join(path.dirname(__file__), "README.pypi"), "r", encoding="utf-8"
).read()
except FileNotFoundError:
LONG_DESCRIPTION = ""
DATA_FILES = []
def include_documentation(local_dir, install_dir):
global DATA_FILES
doc_files = []
for dirpath, dirs, files in walk(local_dir):
doc_files.append((dirpath.replace(local_dir, install_dir),
[path.join(dirpath, f) for f in files]))
DATA_FILES.extend(doc_files)
include_documentation('doc/_build/html', 'help/orange3-fairness')
setup(
name="Orange3-Fairness",
version=VERSION,
author="Bioinformatics Laboratory, FRI UL",
author_email="[email protected]",
maintainer="Zan Mervic",
url="https://github.com/biolab/orange3-fairness",
description="Orange3 add-on for fairness-aware machine learning.",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license="GPL3+",
keywords=[
"orange3 add-on",
"orange3 fairness",
],
packages=find_packages(),
package_data={
"orangecontrib.fairness.widgets": ["icons/*"],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
],
entry_points={
"orange3.addon": ("Orange3-Fairness = orangecontrib.fairness",),
"orange.widgets": ("Fairness = orangecontrib.fairness.widgets",),
"orange.canvas.help": (
'html-index = orangecontrib.fairness.widgets:WIDGET_HELP_PATH',
),
},
install_requires=[
"numpy>=1.21.0",
"Orange3>=3.37.0",
"aif360>=0.6.0",
],
extras_require={
"doc": [
"sphinx",
"sphinx_rtd_theme",
"recommonmark",
]
},
data_files=DATA_FILES,
)