Skip to content

Commit e367927

Browse files
committed
Fix
1 parent b4499be commit e367927

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scripts/install_via_pip.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ set -e
55
PYTORCH_NIGHTLY=false
66
DEPLOY=false
77
CHOSEN_TORCH_VERSION=-1
8-
INSTALL_MODE=test
98

109
while getopts 'ndfv:' flag; do
1110
case "${flag}" in
1211
n) PYTORCH_NIGHTLY=true ;;
1312
d) DEPLOY=true ;;
1413
f) FRAMEWORKS=true ;;
1514
v) CHOSEN_TORCH_VERSION=${OPTARG};;
16-
m) INSTALL_MODE=${OPTARG};;
1715
*) echo "usage: $0 [-n] [-d] [-f] [-v version] [-m install_mode]" >&2
1816
exit 1 ;;
1917
esac
@@ -40,7 +38,7 @@ export TERM=xterm
4038
pip install --upgrade pip --progress-bar off
4139

4240
# install captum with dev deps
43-
pip install -e .[test] --progress-bar off
41+
pip install -e .[dev] --progress-bar off
4442
BUILD_INSIGHTS=1 python setup.py develop
4543

4644
# install other frameworks if asked for and make sure this is before pytorch

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def report(*args):
6767
INSIGHTS_REQUIRES
6868
+ TEST_REQUIRES
6969
+ [
70-
"black==24.2.0",
70+
"black",
7171
"flake8",
7272
"sphinx",
7373
"sphinx-autodoc-typehints",

0 commit comments

Comments
 (0)