build 2.7.3

This commit is contained in:
Kenneth Reitz
2012-08-05 19:20:23 -04:00
parent cdc3ab9baf
commit 4e00cdef0b
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Usage: $ build.sh <output-dir
SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2'
curl $SOURCE_TARBALL | tar zx
mv Python-2.7.3 src
cd src
./configure --prefix=$(pwd)/../python
make
make install
cd ..
tar cjf python-2.7.3.tar.bz2 python/