mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
specify python 2.7
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ LATEST_36="python-3.6.6"
|
||||
LATEST_37="python-3.7.0"
|
||||
LATEST_35="python-3.5.6"
|
||||
LATEST_34="python-3.4.9"
|
||||
LATEST_2="python-2.7.15"
|
||||
LATEST_27="python-2.7.15"
|
||||
|
||||
# Supported Python Branches
|
||||
PY37="python-3.7"
|
||||
@@ -69,7 +69,7 @@ DEFAULT_PYTHON_STACK="cedar-14"
|
||||
PIP_UPDATE="9.0.2"
|
||||
|
||||
export DEFAULT_PYTHON_VERSION DEFAULT_PYTHON_STACK PIP_UPDATE
|
||||
export LATEST_2 LATEST_36 LATEST_37 LATEST_35 LATEST_34
|
||||
export LATEST_27 LATEST_36 LATEST_37 LATEST_35 LATEST_34
|
||||
export PY37 PY36 PY35 PY27 PY34
|
||||
|
||||
# Common Problem Warnings:
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ PYTHON_VERSION=$(cat runtime.txt)
|
||||
# The location of the pre-compiled python binary.
|
||||
VENDORED_PYTHON="${VENDOR_URL}/runtimes/$PYTHON_VERSION.tar.gz"
|
||||
|
||||
SECURITY_UPDATE="Python has released a security update! Please consider upgrading to "
|
||||
SECURITY_UPDATE="Python has released a security update! Please consider upgrading to"
|
||||
|
||||
# check if runtime exists
|
||||
if curl --output /dev/null --silent --head --fail "$VENDORED_PYTHON"; then
|
||||
|
||||
Reference in New Issue
Block a user