Permalink
Browse files

use virtualenv2

  • Loading branch information...
aaronbatalion committed Oct 8, 2012
1 parent 3362afa commit ce639bd5d0d9919645ac713f9d7e56005a055046
Showing with 3 additions and 4 deletions.
  1. +3 −4 bin/compile
View
@@ -58,8 +58,8 @@ GOPATH=$build/.heroku/g export GOPATH
PATH=$GOROOT/bin:$PATH
-#if ! (which hg > /dev/null && which bzr > /dev/null)
-#then
+if ! (which hg > /dev/null && which bzr > /dev/null)
+then
echo -n " Installing Virtualenv..."
virtualenv --python $python --distribute --never-download --prompt='(venv) ' $venv > /dev/null 2>&1
. $venv/bin/activate > /dev/null 2>&1
@@ -72,15 +72,14 @@ PATH=$GOROOT/bin:$PATH
echo -n " Installing Bazaar..."
pip install --use-mirrors bzr > /dev/null 2>&1
echo " done"
-
+fi
echo -n " Installing Libpng..."
pip install --use-mirrors libpng > /dev/null 2>&1
echo " done"
echo -n " Installing Libgd..."
pip install --use-mirrors libgd > /dev/null 2>&1
echo " done"
-#fi
name=$(cat $build/.godir)
p=$GOPATH/src/$name

0 comments on commit ce639bd

Please sign in to comment.