forked from SeldonIO/alibi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (47 loc) · 1.94 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
from setuptools import find_packages, setup
def readme():
with open('README.md') as f:
return f.read()
# read version file
exec(open('alibi/version.py').read())
extras_require = {
'examples': ['seaborn>=0.9.0', 'xgboost>=0.90', 'ipywidgets>=7.6'],
'ray': ['ray>=0.8.7, <2.0.0'], # from requirements/dev.txt
# shap is separated due to build issues, see https://github.com/slundberg/shap/pull/1802
'shap': [
'shap>=0.40.0, <0.41.0', # versioning: https://github.com/SeldonIO/alibi/issues/333
],
}
setup(name='alibi',
author='Seldon Technologies Ltd.',
author_email='[email protected]',
version=__version__, # type: ignore # noqa F821
description='Algorithms for monitoring and explaining machine learning models',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/SeldonIO/alibi',
license='Apache 2.0',
packages=find_packages(),
include_package_data=True,
python_requires='>=3.6',
# lower bounds based on Debian Stable versions where available
install_requires=[
'numpy>=1.16.2, <2.0.0',
'pandas>=0.23.3, <2.0.0',
'scikit-learn>=0.20.2, <1.1.0',
'spacy[lookups]>=2.0.0, <4.0.0',
'scikit-image>=0.14.2, !=0.17.1, <0.19', # https://github.com/SeldonIO/alibi/issues/215
'requests>=2.21.0, <3.0.0',
'Pillow>=5.4.1, <9.0',
'tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.7.0', # https://github.com/SeldonIO/alibi-detect/issues/375
'attrs>=19.2.0, <22.0.0',
'scipy>=1.1.0, <2.0.0',
'matplotlib>=3.0.0, <4.0.0',
'typing-extensions>=3.7.2; python_version < "3.8"', # https://github.com/SeldonIO/alibi/pull/248
'dill>=0.3.0, <0.4.0',
'transformers>=4.7.0, <5.0.0',
'tqdm>=4.28.1, <5.0.0'
],
extras_require=extras_require,
test_suite='tests',
zip_safe=False)