From c8c8995d70c3662fa12d454c74ae0e346501ff10 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Sat, 3 Jun 2017 17:51:44 -0400 Subject: [PATCH] Next version (#405) * python 3.5.3 * v108 * new setuptools version * removed unneeded variable --- CHANGELOG.md | 20 ++++++++++++++++++++ bin/compile | 1 - builds/runtimes/python-3.5.3 | 18 ++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100755 builds/runtimes/python-3.5.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index c6b13c56..2fd0a7aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Python Buildpack Changelog +# 108 + +Updated setuptools. + +# 107 + +Bugfix for C dependency installation. + +# 106 + + Don't install packages that could mess up packaging. + + - The Python buildpack will automatically remove `six`, `pyparsing`, `appdirs`, + `setuptools`, and `distribute` from a `requirements.txt` file now, as these + packages are provided by the Python buildpack. + + # 105 + + Improvements to output messaging. + # 104 General improvements. diff --git a/bin/compile b/bin/compile index ab60dbe7..6e16a855 100755 --- a/bin/compile +++ b/bin/compile @@ -36,7 +36,6 @@ DEFAULT_PYTHON_VERSION="python-2.7.13" DEFAULT_PYTHON_STACK="cedar-14" PYTHON_EXE="/app/.heroku/python/bin/python" PIP_VERSION="9.0.1" -SETUPTOOLS_VERSION="32.1.0" # Common Problem Warnings export WARNINGS_LOG=$(mktemp) diff --git a/builds/runtimes/python-3.5.3 b/builds/runtimes/python-3.5.3 new file mode 100755 index 00000000..a6f6ca49 --- /dev/null +++ b/builds/runtimes/python-3.5.3 @@ -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.5.3/Python-3.5.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.5.3 src +cd src + +./configure --prefix=$OUT_PREFIX --with-ensurepip=no +make +make install + +# ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python + -- GitLab