Last active
January 4, 2017 23:40
-
-
Save thorrr/495cc9df7c6e4d81fe4b to your computer and use it in GitHub Desktop.
install ipython notebook under cygwin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
LIBSODIUM_URL=https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz | |
LIBZMQ_URL=https://github.com/zeromq/libzmq.git | |
#start | |
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | |
tmpdir=`mktemp -d` | |
pushd "$tmpdir" | |
wget $LIBSODIUM_URL | |
git clone $LIBZMQ_URL | |
#libsodium | |
tar -xvzf libsodium-1.0.3.tar.gz | |
cd libsodium-1.0.3/ | |
./configure | |
make && make install | |
cd .. | |
#libzmq | |
cd libzmq/ | |
./autogen.sh | |
./configure | |
make && make install | |
#pip will pick up the libraries correctly now | |
PIP_REQUIRE_VIRTUALENV="" pip install ipython[notebook] | |
popd | |
rm "$tmpdir" -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment