From 0e8c0077ff0cfdcaada94cecc414e7a267c3cc8c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Wed, 15 Mar 2017 16:47:24 -0400 Subject: [PATCH] remove legacy behavior --- bin/compile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bin/compile b/bin/compile index 52378a70..482e3485 100755 --- a/bin/compile +++ b/bin/compile @@ -27,10 +27,7 @@ BUILD_DIR=$1 CACHE_DIR=$2 ENV_DIR=$3 -# Static configurations for virtualenv caches. -VIRTUALENV_LOC=".heroku/venv" -LEGACY_TRIGGER="lib/python2.7" - +# Python defaults DEFAULT_PYTHON_VERSION="python-2.7.13" DEFAULT_PYTHON_STACK="cedar-14" PYTHON_EXE="/app/.heroku/python/bin/python" @@ -130,12 +127,6 @@ fi # Prepare the cache. mkdir -p $CACHE_DIR -# Purge "old-style" virtualenvs. -bpwatch start clear_old_venvs - [ -d $CACHE_DIR/$LEGACY_TRIGGER ] && rm -fr $CACHE_DIR/.heroku/bin $CACHE_DIR/.heroku/lib $CACHE_DIR/.heroku/include - [ -d $CACHE_DIR/$VIRTUALENV_LOC ] && rm -fr $CACHE_DIR/.heroku/venv $CACHE_DIR/.heroku/src -bpwatch stop clear_old_venvs - # Restore old artifacts from the cache. bpwatch start restore_cache mkdir -p .heroku -- GitLab