mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
fix @cclauss's mess
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
|
||||
OUT_PREFIX=$1
|
||||
|
||||
source ./download_python
|
||||
download_python "3.3.6"
|
||||
|
||||
echo "Building Python..."
|
||||
SOURCE_TARBALL='http://python.org/ftp/python/3.3.6/Python-3.3.6.tgz'
|
||||
curl -L $SOURCE_TARBALL | tar xz
|
||||
mv Python-3.3.6 src
|
||||
cd src
|
||||
|
||||
./configure --prefix=$OUT_PREFIX --enable-shared
|
||||
make
|
||||
make install
|
||||
|
||||
@@ -4,12 +4,15 @@
|
||||
|
||||
OUT_PREFIX=$1
|
||||
|
||||
source ./download_python
|
||||
download_python "3.4.2"
|
||||
|
||||
echo "Building Python..."
|
||||
SOURCE_TARBALL='http://python.org/ftp/python/3.4.2/Python-3.4.2.tgz'
|
||||
curl -L $SOURCE_TARBALL | tar xz
|
||||
mv Python-3.4.2 src
|
||||
cd src
|
||||
|
||||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no --enable-shared
|
||||
make
|
||||
make install
|
||||
|
||||
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user