diff --git a/Readme.md b/Readme.md index a54cadcdda6997daf810c23800e35afe20cef869..d6591f8023ac47fb88f7d6f2c4ded0bde50291fa 100644 --- a/Readme.md +++ b/Readme.md @@ -17,7 +17,7 @@ Example usage: $ git push heroku master ... -----> Python app detected - -----> Installing runtime (python-2.7.9) + -----> Installing runtime (python-2.7.10) -----> Installing dependencies using pip Downloading/unpacking requests (from -r requirements.txt (line 1)) Installing collected packages: requests @@ -40,13 +40,13 @@ Specify a Runtime You can also provide arbitrary releases Python with a `runtime.txt` file. $ cat runtime.txt - python-3.4.3 + python-3.5.0 Runtime options include: -- python-2.7.9 -- python-3.4.3 -- pypy-2.4.0 (unsupported, experimental) +- python-2.7.10 +- python-3.5.0 +- pypy-2.6.1 (unsupported, experimental) - pypy3-2.4.0 (unsupported, experimental) Other [unsupported runtimes](https://github.com/heroku/heroku-buildpack-python/tree/master/builds/runtimes) are available as well. diff --git a/builds/runtimes/pypy-2.6.1 b/builds/runtimes/pypy-2.6.1 new file mode 100755 index 0000000000000000000000000000000000000000..063d59b57a5a1dd5f15da4d02c87ac96af25f8a8 --- /dev/null +++ b/builds/runtimes/pypy-2.6.1 @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ +# Build Deps: libraries/sqlite + +# NOTICE: This formula only works for the cedar-14 stack, not cedar. + +OUT_PREFIX=$1 + +echo "Building PyPy..." +SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy-2.6.1-linux64.tar.bz2' +curl -L $SOURCE_TARBALL | tar jx +cp -R pypy-2.6.1-linux64/* $OUT_PREFIX + +ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python