Set fixed version for ipykernel

This commit is contained in:
Florian Märkl 2018-12-08 12:43:40 +01:00
parent 678e6dec8c
commit fc350849a3
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,2 @@
jupyter
ipykernel==4.10.0

View File

@ -1,5 +1,7 @@
#!/bin/bash
SCRIPTPATH=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
mkdir -p python && cd python || exit 1
export CUSTOM_PYTHON_PREFIX="`pwd`/prefix"
@ -31,6 +33,6 @@ done
PYTHONHOME=$CUSTOM_PYTHON_PREFIX \
LD_LIBRARY_PATH=$CUSTOM_PYTHON_PREFIX/lib \
"$CUSTOM_PYTHON_PREFIX/bin/pip3" install jupyter || exit 1
"$CUSTOM_PYTHON_PREFIX/bin/pip3" install -r "$SCRIPTPATH/pip_requirements.txt" || exit 1
cd ..

View File

@ -1,5 +1,7 @@
#!/bin/bash
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
mkdir python && cd python
wget "https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz" || exit 1
@ -18,6 +20,6 @@ make -j4 || exit 1
make frameworkinstallframework > /dev/null || exit 1
PYTHONHOME=$PYTHON_FRAMEWORK_DIR/Python.framework/Versions/Current \
$PYTHON_FRAMEWORK_DIR/Python.framework/Versions/Current/bin/pip3 install jupyter || exit 1
$PYTHON_FRAMEWORK_DIR/Python.framework/Versions/Current/bin/pip3 install -r "$SCRIPTPATH/pip_requirements.txt" || exit 1
cd ../..