-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
77 lines (70 loc) · 2.59 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
VERSION = '0.0.4'
ENTRY_POINTS = {
'orange3.addon': (
'oshap = orangecontrib.oshap',
),
# Entry point used to specify packages containing tutorials accessible
# from welcome screen. Tutorials are saved Orange Workflows (.ows files).
'orange.widgets.tutorials': (
# Syntax: any_text = path.to.package.containing.tutorials
),
# Entry point used to specify packages containing widgets.
'orange.widgets': (
# Syntax: category name = path.to.package.containing.widgets
# Widget category specification can be seen in
# orangecontrib/datafusion/widgets/__init__.py
'Shap = orangecontrib.oshap.widgets',
),
# Widget help
"orange.canvas.help": (
'html-index = orangecontrib.oshap.widgets:WIDGET_HELP_PATH',
)
}
if __name__ == '__main__':
setup(
name="orange3-shap",
description="Orange3 add-on for exploring shap values.",
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
version=VERSION,
author='Jean-Baptiste Poullet',
url='https://github.com/jpoullet2000/orange3-shap',
license='CC-BY-NC-3.0',
keywords=[
'shap',
'orange3 add-on'
],
packages=find_packages(),
package_data={
"orangecontrib.oshap.widgets": ["icons/*.png",
"*.js"],
},
install_requires=[
'Orange3',
'pandas', # statsmodels requires this but doesn't have it in dependencies?
'numpy',
'scipy>=0.17',
'shap>=0.28.5'
],
entry_points=ENTRY_POINTS,
test_suite='orangecontrib.oshap.tests.suite',
namespace_packages=['orangecontrib'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Environment :: Plugins',
'Programming Language :: Python',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
]
)