Mercurial > hg > fetch
diff INSTALL.sh @ 0:3497a30190d2
initial commit of fetch, WIP
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 18 Sep 2011 10:33:04 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL.sh Sun Sep 18 10:33:04 2011 -0700 @@ -0,0 +1,27 @@ +#!/usr/bin/bash + +# installation script for fetch +# fetch stuff from the interwebs + +REPO='http://k0s.org/mozilla/hg/fetch' +DEST='fetch' # name of the virtualenv + +if [ "$#" != "0" ] +then + DEST=$1 +fi + +if which virtualenv +then + virtualenv ${DEST} +else + curl https://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py | python - ${DEST} +fi +cd ${DEST} +. bin/activate # linux only +mkdir src +cd src +hg clone ${REPO} +cd fetch +python setup.py develop +