mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
17081d0328
commit b611ff0cd6ed05ff27a42b6c2da656441056cfba Author: Kenneth Reitz <me@kennethreitz.org> Date: Fri Dec 23 23:11:51 2016 -0500 remove debugging statements commitd1ab87748bAuthor: Kenneth Reitz <me@kennethreitz.org> Date: Fri Dec 23 23:05:46 2016 -0500 ln -s commit6844d1252dAuthor: Kenneth Reitz <me@kennethreitz.org> Date: Fri Dec 23 22:55:41 2016 -0500 further debug commit1346c29089Author: Kenneth Reitz <me@kennethreitz.org> Date: Fri Dec 23 22:54:42 2016 -0500 debug commit3bc1b5e697Author: Kenneth Reitz <me@kennethreitz.org> Date: Fri Dec 23 22:53:23 2016 -0500 say when installing pip or setuptools
19 lines
382 B
Bash
Executable File
19 lines
382 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build Path: /app/.heroku/python/
|
|
# Build Deps: libraries/sqlite
|
|
|
|
OUT_PREFIX=$1
|
|
|
|
echo "Building Python..."
|
|
SOURCE_TARBALL='https://python.org/ftp/python/3.6.0/Python-3.6.0.tgz'
|
|
curl -L $SOURCE_TARBALL | tar xz
|
|
mv Python-3.6.0 src
|
|
cd src
|
|
|
|
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
|
|
make
|
|
make install
|
|
|
|
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python
|
|
|