new pythons!

This commit is contained in:
Kenneth Reitz
2013-05-17 09:08:30 +02:00
parent 9507167623
commit d61b15f4e6
3 changed files with 63 additions and 0 deletions
+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.2/Python-3.3.2.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-3.3.2 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python