Last active
August 29, 2015 14:20
-
-
Save jdfreder/a8cf6e11de500f713cc1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
set -e | |
gh="https://github.com/" | |
repos=" | |
ipython/traitlets | |
ipython/ipython | |
jupyter/jupyter_core | |
jupyter/jupyter_client | |
ipython/ipykernel | |
jupyter/jupyter_console | |
jupyter/qtconsole | |
jupyter/nbformat | |
jupyter/nbconvert | |
jupyter/notebook | |
ipython/ipywidgets | |
" | |
test -d ipython || mkdir ipython | |
test -d jupyter || mkdir jupyter | |
base=$PWD | |
for repo in $repos; do | |
cd $base | |
test -d $repo || git clone $gh/$repo $repo | |
cd $repo | |
git pull | |
sudo pip install -e . | |
export mine=`echo $repo | sed -e "s/sudo ipython\/\|jupyter\//jdfreder\//g"` | |
git remote set-url origin $gh/$mine | |
git remote add uplink $gh/$repo | |
git remote update | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment