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
0e8c0077
Commit
0e8c0077
authored
Mar 15, 2017
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove legacy behavior
parent
cfda557b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
compile
bin/compile
+1
-10
No files found.
bin/compile
View file @
0e8c0077
...
@@ -27,10 +27,7 @@ BUILD_DIR=$1
...
@@ -27,10 +27,7 @@ BUILD_DIR=$1
CACHE_DIR
=
$2
CACHE_DIR
=
$2
ENV_DIR
=
$3
ENV_DIR
=
$3
# Static configurations for virtualenv caches.
# Python defaults
VIRTUALENV_LOC
=
".heroku/venv"
LEGACY_TRIGGER
=
"lib/python2.7"
DEFAULT_PYTHON_VERSION
=
"python-2.7.13"
DEFAULT_PYTHON_VERSION
=
"python-2.7.13"
DEFAULT_PYTHON_STACK
=
"cedar-14"
DEFAULT_PYTHON_STACK
=
"cedar-14"
PYTHON_EXE
=
"/app/.heroku/python/bin/python"
PYTHON_EXE
=
"/app/.heroku/python/bin/python"
...
@@ -130,12 +127,6 @@ fi
...
@@ -130,12 +127,6 @@ fi
# Prepare the cache.
# Prepare the cache.
mkdir
-p
$CACHE_DIR
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.
# Restore old artifacts from the cache.
bpwatch start restore_cache
bpwatch start restore_cache
mkdir
-p
.heroku
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