mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-21 15:20:58 +00:00
2331a3131c
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
15 lines
421 B
Bash
Executable File
15 lines
421 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build Path: /app/.heroku/python/
|
|
# Build Deps: libraries/sqlite
|
|
|
|
# NOTICE: This formula only works for the cedar-14 and heroku-16 stacks, not cedar.
|
|
|
|
OUT_PREFIX=$1
|
|
|
|
echo "Building PyPy…"
|
|
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.7.0-linux64.tar.bz2'
|
|
curl -L $SOURCE_TARBALL | tar jx
|
|
cp -R pypy2-v5.7.0-linux64/* $OUT_PREFIX
|
|
|
|
ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python
|