Skip to content

Commit

Permalink
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
* improving help
* fixing bug with pip installation on Anaconda for Windows
* fixing bug with pip installation on Linux
* adding CK_PYTHON to change interpreter on Linux (for example python3)

* V1.6.4
* Support ISO and human readable time during search
9 changes: 7 additions & 2 deletions bin/ck
Original file line number Diff line number Diff line change
@@ -9,9 +9,14 @@ if [ -z "$CK_ROOT" ]; then
export CK_ROOT=$CK_path;
fi

# Check which python to use
if [ -z "$CK_PYTHON" ]; then
export CK_PYTHON=python
fi

# Load kernel module (either GIT/local installation or as package)
if [ -f "$CK_ROOT/ck/kernel.py" ]; then
python -W ignore::DeprecationWarning $CK_ROOT/ck/kernel.py "$@"
$CK_PYTHON -W ignore::DeprecationWarning $CK_ROOT/ck/kernel.py "$@"
else
python -m ck.kernel "$@"
$CK_PYTHON -m ck.kernel "$@"
fi

0 comments on commit eecca74

Please sign in to comment.