File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
* V1.6.12
2
+ * adding CK_PYTHON env variable in ck script
3
+ to let user select required python version (python or python3)
2
4
* automatically detecting python3 or python on Linux
3
5
* fixing license of a php OpenME code - now the same as CK
4
6
(tiny part to connect PHP-based web requests to CK)
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ if [ -z "$CK_ROOT" ]; then
10
10
fi
11
11
12
12
# Check which python to use
13
+ if [ " $CK_PYTHON " != " " ]; then
14
+ export PYTHON=$CK_PYTHON
15
+ fi
16
+
13
17
if [ -z " $PYTHON " ]; then
14
18
if $( python3 --version & > /dev/null) ; then
15
19
export PYTHON=python3
@@ -18,6 +22,8 @@ if [ -z "$PYTHON" ]; then
18
22
fi
19
23
fi
20
24
25
+ echo $PYTHON
26
+
21
27
# Load kernel module (either GIT/local installation or as package)
22
28
if [ -f " $CK_ROOT /ck/kernel.py" ]; then
23
29
$PYTHON -W ignore::DeprecationWarning $CK_ROOT /ck/kernel.py " $@ "
You can’t perform that action at this time.
0 commit comments