mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
12 lines
292 B
Bash
Executable File
12 lines
292 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Options: <output-dir>
|
|
|
|
OUT_PREFIX=$1
|
|
|
|
echo "Building Python..."
|
|
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy-1.7-linux64.tar.bz2'
|
|
curl -L $SOURCE_TARBALL | tar jx
|
|
mv pypy-1.7/* $OUT_PREFIX
|
|
rm -fr pypy-1.7
|
|
|
|
ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python |