File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export VENDOR_URL
42
42
# Python defaults
43
43
DEFAULT_PYTHON_VERSION=" python-3.6.4"
44
44
LATEST_3=" python-3.6.4"
45
- LATEST_2=" python-2.7.14 "
45
+ LATEST_2=" python-2.7.15 "
46
46
47
47
DEFAULT_PYTHON_STACK=" cedar-14"
48
48
PIP_UPDATE=" 9.0.2"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # Build Path: /app/.heroku/python/
3
+ # Build Deps: libraries/sqlite
4
+
5
+ OUT_PREFIX=$1
6
+
7
+ echo " Building Python…"
8
+ SOURCE_TARBALL=' https://python.org/ftp/python/2.7.15/Python-2.7.15.tgz'
9
+ curl -L $SOURCE_TARBALL | tar xz
10
+ mv Python-2.7.15 src
11
+ cd src
12
+
13
+ ./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --with-ensurepip=no
14
+ make
15
+ make install
16
+
17
+ # Remove unneeded test directories, similar to the official Docker Python images:
18
+ # https://github.com/docker-library/python
19
+ find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
Original file line number Diff line number Diff line change 1
- python-2.7.14
1
+ python-2.7.15
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ testPylibmc() {
77
77
78
78
testPython2 () {
79
79
compile " python2"
80
- assertCaptured " python-2.7.14 "
80
+ assertCaptured " python-2.7.15 "
81
81
assertCapturedSuccess
82
82
}
83
83
You can’t perform that action at this time.
0 commit comments