download_python()

This commit is contained in:
cclauss
2014-08-23 08:54:55 +02:00
parent dc87fca814
commit e97f13395f
+3 -6
View File
@@ -4,15 +4,12 @@
OUT_PREFIX=$1
echo "Building Python..."
SOURCE_TARBALL='http://python.org/ftp/python/3.4.1/Python-3.4.1.tgz'
curl -L $SOURCE_TARBALL | tar xz
mv Python-3.4.1 src
cd src
source ./download_python
download_python "3.4.1"
cd src
./configure --prefix=$OUT_PREFIX --with-ensurepip=no --enable-shared
make
make install
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python