python 3.3.0

This commit is contained in:
Kenneth Reitz
2012-09-29 15:21:01 -04:00
parent bf9aec46fb
commit c59966b6f6
+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/3.3.0/Python-3.3.0.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-3.3.0b1 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python