Python 2.7.4rc1

This commit is contained in:
Kenneth Reitz
2013-03-23 21:48:25 -04:00
parent d82f4f82d1
commit 400f27effe
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Options: <output-dir>
OUT_PREFIX=$1
echo "Building SQLite..."
./parts/sqlite $OUT_PREFIX
echo "Building Python..."
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.4/Python-2.7.4rc1.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-2.7.4rc1 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src
ln $OUT_PREFIX/bin/python $OUT_PREFIX/bin/python2