Skip to content

Instantly share code, notes, and snippets.

@jdfreder
Last active August 29, 2015 14:20
Show Gist options
  • Save jdfreder/a8cf6e11de500f713cc1 to your computer and use it in GitHub Desktop.
Save jdfreder/a8cf6e11de500f713cc1 to your computer and use it in GitHub Desktop.
#!/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