mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
no pypy yet
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build Path: /app/.heroku/python/
|
||||
# Build Deps: libraries/sqlite, libraries/libffi
|
||||
|
||||
OUT_PREFIX=$1
|
||||
export PATH="/app/.heroku/python/bin/:$PATH"
|
||||
export LD_LIBRARY_PATH="/app/.heroku/vendor/lib:$LD_LIBRARY_PATH"
|
||||
export LIBRARY_PATH="/app/.heroku/vendor/lib:$LIBRARY_PATH"
|
||||
|
||||
|
||||
hash -r
|
||||
|
||||
echo "Building PyPy..."
|
||||
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy-2.3.1-src.tar.bz2'
|
||||
curl -L $SOURCE_TARBALL | tar jx
|
||||
cd pypy-2.3.1-src
|
||||
|
||||
cd pypy/goal
|
||||
python ../../rpython/bin/rpython -Ojit targetpypystandalone
|
||||
|
||||
|
||||
|
||||
ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python
|
||||
Reference in New Issue
Block a user