File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 23
23
24
24
python -m pip install $mode .
25
25
rm -rf stumpy.egg-info build dist __pycache__
26
+
27
+ site_pkgs=$( python -c ' import site; print(site.getsitepackages()[0])' )
28
+ if [ -d " $site_pkgs /stumpy/__pycache__" ]; then
29
+ rm -rf $site_pkgs /stumpy/__pycache__/* nb*
30
+ fi
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ test_mode="all"
4
4
print_mode=" verbose"
5
5
custom_testfiles=()
6
6
max_iter=10
7
+ site_pkgs=$( python -c ' import site; print(site.getsitepackages()[0])' )
7
8
8
9
# Parse command line arguments
9
10
for var in " $@ "
@@ -223,6 +224,9 @@ clean_up()
223
224
echo " Cleaning Up"
224
225
rm -rf " dask-worker-space"
225
226
rm -rf " stumpy/__pycache__/"
227
+ if [ -d " $site_pkgs /stumpy/__pycache__" ]; then
228
+ rm -rf $site_pkgs /stumpy/__pycache__/* nb*
229
+ fi
226
230
}
227
231
228
232
# ##########
You can’t perform that action at this time.
0 commit comments