Skip to content

Commit

Permalink
Add CPython 3.6.2 (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfriend authored and kennethreitz committed Jul 17, 2017
1 parent 57baab9 commit 4293ec5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions builds/runtimes/python-3.6.2
@@ -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

0 comments on commit 4293ec5

Please sign in to comment.