Skip to content

Commit

Permalink
python 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Mar 17, 2014
1 parent 7e8cafe commit a864520
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions formula/python-3.4.0
@@ -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://python.org/ftp/python/3.4.0/Python-3.4.0.tgz'
curl -L $SOURCE_TARBALL | tar xz
mv Python-3.4.0 src
cd src

./configure --prefix=$OUT_PREFIX --with-ensurepip=no
make
make install

cd ..
rm -fr src
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python

0 comments on commit a864520

Please sign in to comment.