-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (73 loc) · 2.4 KB
/
setup.py
File metadata and controls
78 lines (73 loc) · 2.4 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
"""Setup file for interpret-text package."""
from setuptools import setup, find_packages
import interpret_text
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
]
DEPENDENCIES = [
"numpy",
"pandas",
"pydantic",
"spacy",
"ipywidgets",
"transformers>=4.17.0",
"scipy",
"scikit-learn",
"tqdm",
"torch",
"pytorch_pretrained_bert",
"cached_property",
"interpret-community",
"shap>=0.20.0, <=0.42.1",
]
setup(
name=interpret_text.__name__,
version=interpret_text.__version__,
description="Microsoft Interpret Text SDK for Python",
long_description="",
long_description_content_type="text/markdown",
author="Microsoft Corp",
author_email="[email protected]",
license="MIT License",
url="https://github.com/interpretml/interpret-text",
classifiers=CLASSIFIERS,
packages=find_packages(exclude=["*.tests"]),
install_requires=DEPENDENCIES,
include_package_data=True,
data_files=[
(
"share/jupyter/nbextensions/interpret-text-widget",
[
"interpret_text/experimental/widget/static/extension.js",
"interpret_text/experimental/widget/static/extension.js.map",
"interpret_text/experimental/widget/static/index.js",
"interpret_text/experimental/widget/static/index.js.map",
],
),
(
"etc/jupyter/nbconfig/notebook.d",
["jupyter-config/nbconfig/notebook.d/interpret-text-widget.json"],
),
(
"share/jupyter/lab/extensions",
[
"interpret_text/experimental/widget/js/"
"interpret_text_widget/labextension/interpret-text-widget-0.1.7.tgz"
],
),
],
zip_safe=False,
)