Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
c58f52e0
Commit
c58f52e0
authored
Dec 18, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove purging of old virtualenvs
since old stacks aren't supported
parent
265a95d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
compile
bin/compile
+0
-10
No files found.
bin/compile
View file @
c58f52e0
...
...
@@ -27,10 +27,6 @@ BUILD_DIR=$1
CACHE_DIR
=
$2
ENV_DIR
=
$3
# Static configurations for virtualenv caches.
VIRTUALENV_LOC
=
".heroku/venv"
LEGACY_TRIGGER
=
"lib/python2.7"
DEFAULT_PYTHON_VERSION
=
"python-2.7.13"
DEFAULT_PYTHON_STACK
=
"cedar-14"
PYTHON_EXE
=
"/app/.heroku/python/bin/python"
...
...
@@ -133,12 +129,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment