File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 5
5
PYTORCH_NIGHTLY=false
6
6
DEPLOY=false
7
7
CHOSEN_TORCH_VERSION=-1
8
- INSTALL_MODE=test
9
8
10
9
while getopts ' ndfv:' flag; do
11
10
case " ${flag} " in
12
11
n) PYTORCH_NIGHTLY=true ;;
13
12
d) DEPLOY=true ;;
14
13
f) FRAMEWORKS=true ;;
15
14
v) CHOSEN_TORCH_VERSION=${OPTARG} ;;
16
- m) INSTALL_MODE=${OPTARG} ;;
17
15
* ) echo " usage: $0 [-n] [-d] [-f] [-v version] [-m install_mode]" >&2
18
16
exit 1 ;;
19
17
esac
@@ -40,7 +38,7 @@ export TERM=xterm
40
38
pip install --upgrade pip --progress-bar off
41
39
42
40
# install captum with dev deps
43
- pip install -e .[test ] --progress-bar off
41
+ pip install -e .[dev ] --progress-bar off
44
42
BUILD_INSIGHTS=1 python setup.py develop
45
43
46
44
# install other frameworks if asked for and make sure this is before pytorch
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def report(*args):
67
67
INSIGHTS_REQUIRES
68
68
+ TEST_REQUIRES
69
69
+ [
70
- "black==24.2.0 " ,
70
+ "black" ,
71
71
"flake8" ,
72
72
"sphinx" ,
73
73
"sphinx-autodoc-typehints" ,
You can’t perform that action at this time.
0 commit comments