mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
only talk about runtime once
This commit is contained in:
+1
-1
@@ -125,7 +125,6 @@ mkdir -p $(dirname $PROFILE_PATH)
|
|||||||
|
|
||||||
set +e
|
set +e
|
||||||
PYTHON_VERSION=$(cat runtime.txt)
|
PYTHON_VERSION=$(cat runtime.txt)
|
||||||
puts-step "Preparing Python runtime ($PYTHON_VERSION)"
|
|
||||||
|
|
||||||
# Install Python.
|
# Install Python.
|
||||||
if [ -f .heroku/python-version ]; then
|
if [ -f .heroku/python-version ]; then
|
||||||
@@ -139,6 +138,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
if [ ! "$SKIP_INSTALL" ]; then
|
if [ ! "$SKIP_INSTALL" ]; then
|
||||||
|
puts-step "Preparing Python runtime ($PYTHON_VERSION)"
|
||||||
curl http://envy-versions.s3.amazonaws.com/$PYTHON_VERSION.tar.bz2 -s | tar jx > /dev/null
|
curl http://envy-versions.s3.amazonaws.com/$PYTHON_VERSION.tar.bz2 -s | tar jx > /dev/null
|
||||||
mv python .heroku/python
|
mv python .heroku/python
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user