pypy.sh 429 B

123456789101112131415
  1. #!/bin/bash
  2. RETCODE=$(fw_exists ${IROOT}/pypy.installed)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. fw_get https://bitbucket.org/pypy/pypy/downloads/pypy-2.4.0-linux64.tar.bz2 -O pypy-2.4.0-linux64.tar.bz2
  5. fw_untar pypy-2.4.0-linux64.tar.bz2
  6. ln -sf pypy-2.4.0-linux64 pypy
  7. if [ ! -f "get-pip.py" ]; then
  8. fw_get https://bootstrap.pypa.io/get-pip.py -O get-pip.py
  9. fi
  10. ${IROOT}/pypy/bin/pypy get-pip.py
  11. touch ${IROOT}/pypy.installed