Add runtime for python3 version of pypy 3.7.1 (#383)

This commit is contained in:
Kaelan Thijs Fouwels
2017-05-11 17:57:47 +01:00
committed by Kenneth Reitz
parent f6d63ea53d
commit 48f67ac5a6
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/
# Build Deps: libraries/sqlite
OUT_PREFIX=$1
echo "Building PyPy..."
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.7.1-linux64.tar.bz2'
curl -L $SOURCE_TARBALL | tar jx
cp -R pypy3-v5.7.1-linux64/* $OUT_PREFIX
ln $OUT_PREFIX/bin/pypy3 $OUT_PREFIX/bin/python