Mercurial > hg > autobot
changeset 64:503d38bdee90
use virtualenv from the net if its not available locally
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 11 Jan 2011 09:49:08 -0800 |
parents | 04e41ee436c3 |
children | 288397616e5f |
files | INSTALL.sh |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL.sh Tue Jan 11 09:32:36 2011 -0800 +++ b/INSTALL.sh Tue Jan 11 09:49:08 2011 -0800 @@ -10,7 +10,12 @@ DEST=$1 fi -virtualenv ${DEST} +if which virtualenv +then + virtualenv ${DEST} +else + curl https://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py | python - ${DEST} +fi cd autobot . bin/activate # linux only mkdir src