# Python version. This will be used in the future to specify custom Pythons.
# Python version. This will be used in the future to specify custom Pythons.
PYTHON_VERSION="2.7.2"
PYTHON_VERSION="2.7.2"
...
@@ -94,23 +98,39 @@ fi
...
@@ -94,23 +98,39 @@ fi
# Reject a Django app that appears to be packaged incorrectly.
# Reject a Django app that appears to be packaged incorrectly.
grep-Fiq"django" requirements.txt)&&[-f settings.py ]&&{ puts-warn "Django app must be in a package subdirectory";exit 1;}
grep-Fiq"django" requirements.txt)&&[-f settings.py ]&&{ puts-warn "Django app must be in a package subdirectory";exit 1;}
# Warn for a checked-in virtualenv.
# ### The Cache
if[-d"lib"]||[-d"bin"];then
mkdir-p$CACHE_DIR
# Nice defaults.
LEGACY_VIRTUALENV=false
VIRTUALENV_LOC=$MODERN_VIRTUALENV_LOC
CACHE_DIRS ='.heroku'
# Support "old-style" virtualenvs.
if[-f$CACHE_DIR/$LEGACY_VIRTUALENV_TRIGGER];do
LEGACY_VIRTUALENV=true
VIRTUALENV_LOC=$LEGACY_VIRTUALENV_LOC
CACHE_DIRS =$LEGACY_VIRTUALENV_DIRS
# Warn for a checked-in virtualenv.
if[-d"lib"]||[-d"bin"];then
puts-warn "You have a virtualenv checked in. You should ignore the appropriate paths in your repo. See http://devcenter.heroku.com/articles/gitignore for more info.";
puts-warn "You have a virtualenv checked in. You should ignore the appropriate paths in your repo. See http://devcenter.heroku.com/articles/gitignore for more info.";