Mercurial > hg > fetch
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3497a30190d2 |
---|---|
1 #!/usr/bin/bash | |
2 | |
3 # installation script for fetch | |
4 # fetch stuff from the interwebs | |
5 | |
6 REPO='http://k0s.org/mozilla/hg/fetch' | |
7 DEST='fetch' # name of the virtualenv | |
8 | |
9 if [ "$#" != "0" ] | |
10 then | |
11 DEST=$1 | |
12 fi | |
13 | |
14 if which virtualenv | |
15 then | |
16 virtualenv ${DEST} | |
17 else | |
18 curl https://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py | python - ${DEST} | |
19 fi | |
20 cd ${DEST} | |
21 . bin/activate # linux only | |
22 mkdir src | |
23 cd src | |
24 hg clone ${REPO} | |
25 cd fetch | |
26 python setup.py develop | |
27 |