From 2e37a969844fba1b3c7815bfce7fc2f55eea15ba Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Tue, 14 Mar 2017 10:00:59 -0400
Subject: [PATCH] more cleanups

---
 CHANGELOG.md | 7 +++++++
 bin/compile  | 2 --
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ec41e398..9e9eb143 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
 # Python Buildpack Changelog
 
+## 101
+
+Cleanups.
+
+ - Remove legacy instrumentation.
+ - Remove legacy virtualenv support.
+
 ## 100
 
 Preliminary pipenv support.
diff --git a/bin/compile b/bin/compile
index 8c02c762..f9ddbd48 100755
--- a/bin/compile
+++ b/bin/compile
@@ -120,7 +120,6 @@ cp -R $CACHE_DIR/.heroku/python .heroku/ &> /dev/null || true
 cp -R $CACHE_DIR/.heroku/python-stack .heroku/ &> /dev/null || true
 cp -R $CACHE_DIR/.heroku/python-version .heroku/ &> /dev/null || true
 cp -R $CACHE_DIR/.heroku/vendor .heroku/ &> /dev/null || true
-cp -R $CACHE_DIR/.heroku/venv .heroku/ &> /dev/null || true
 if [[ -d $CACHE_DIR/.heroku/src ]]; then
   cp -R $CACHE_DIR/.heroku/src .heroku/ &> /dev/null || true
 fi
@@ -134,7 +133,6 @@ if [[ $BUILD_DIR != '/app' ]]; then
     # we will not remove these later so subsequent buildpacks can still invoke it
     ln -nsf $BUILD_DIR/.heroku/python /app/.heroku/python
     ln -nsf $BUILD_DIR/.heroku/vendor /app/.heroku/vendor
-    ln -nsf $BUILD_DIR/.heroku/venv /app/.heroku/venv
     # Note: .heroku/src is copied in later.
 fi
 
-- 
GitLab