mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Set fixed version for ipykernel
This commit is contained in:
parent
678e6dec8c
commit
fc350849a3
2
scripts/pip_requirements.txt
Normal file
2
scripts/pip_requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
jupyter
|
||||
ipykernel==4.10.0
|
@ -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 ..
|
||||
|
@ -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 ../..
|
||||
|
Loading…
Reference in New Issue
Block a user