python-2.7.5

This commit is contained in:
Kenneth Reitz
2013-05-17 08:10:49 +02:00
parent 67d2a71f79
commit 9507167623
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Options: <output-dir>
OUT_PREFIX=$1
echo "Building SQLite..."
./parts/sqlite $OUT_PREFIX
echo "Building Python..."
SOURCE_TARBALL='http://python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-2.7.5 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src