Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57baab9
commit 4293ec5
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/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.2/Python-3.6.2.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-3.6.2 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no | ||
make | ||
make install | ||
|
||
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python | ||
|