Commit e95930c5 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Pip invocation fixes

parent 605f0070
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -31,17 +31,19 @@ if test "$py_version" = "2.5"; then
  hash -r
  which easy_install
  easy_install 'pip==1.3.1'
  PIP="pip --insecure"
  PIP_FLAGS="--insecure"
else
  #curl -k https://raw.github.com/pypa/pip/1.4/contrib/get-pip.py | python -
  curl http://git.tiker.net/pip/blob_plain/77f959a3ce9cc506efbf3a17290d387d0a6624f5:/contrib/get-pip.py | python -

  PIP="pip"
  PIP_FLAGS=""
fi

# Not sure why the hell pip ends up there, but in Py3.3, it sometimes does.
export PATH=`pwd`/.env/local/bin:$PATH

PIP="${py_exe} $(which pip) $PIP_FLAGS"

if test "$EXTRA_INSTALL" != ""; then
  for i in $EXTRA_INSTALL ; do
    $PIP install $i