File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 5
5
* improving help
6
6
* fixing bug with pip installation on Anaconda for Windows
7
7
* fixing bug with pip installation on Linux
8
+ * adding CK_PYTHON to change interpreter on Linux (for example python3)
8
9
9
10
* V1.6.4
10
11
* Support ISO and human readable time during search
Original file line number Diff line number Diff line change @@ -9,9 +9,14 @@ if [ -z "$CK_ROOT" ]; then
9
9
export CK_ROOT=$CK_path ;
10
10
fi
11
11
12
+ # Check which python to use
13
+ if [ -z " $CK_PYTHON " ]; then
14
+ export CK_PYTHON=python
15
+ fi
16
+
12
17
# Load kernel module (either GIT/local installation or as package)
13
18
if [ -f " $CK_ROOT /ck/kernel.py" ]; then
14
- python -W ignore::DeprecationWarning $CK_ROOT /ck/kernel.py " $@ "
19
+ $CK_PYTHON -W ignore::DeprecationWarning $CK_ROOT /ck/kernel.py " $@ "
15
20
else
16
- python -m ck.kernel " $@ "
21
+ $CK_PYTHON -m ck.kernel " $@ "
17
22
fi
You can’t perform that action at this time.
0 commit comments