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
76d2eda8
Commit
76d2eda8
authored
Dec 06, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LEGACY_TRIGGER
parent
880c498c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
compile
bin/compile
+5
-5
No files found.
bin/compile
View file @
76d2eda8
...
...
@@ -49,8 +49,8 @@ CACHED_DIRS=".heroku"
PIP_DOWNLOAD_CACHE
=
${
PIP_DOWNLOAD_CACHE
:-
$CACHE_DIR
/pip_downloads
}
# Static configurations for virtualenv caches.
MODERN_
VIRTUALENV_LOC
=
".heroku/venv"
LEGACY_
VIRTUALENV_
TRIGGER
=
"lib/python2.7"
VIRTUALENV_LOC
=
".heroku/venv"
LEGACY_TRIGGER
=
"lib/python2.7"
PROFILE_PATH
=
"
$BUILD_DIR
/.profile.d/python.sh"
...
...
@@ -92,11 +92,11 @@ mkdir -p $CACHE_DIR
# Nice defaults.
VIRTUALENV_LOC
=
$
MODERN_
VIRTUALENV_LOC
VIRTUALENV_DIRS
=
$
MODERN_
VIRTUALENV_LOC
VIRTUALENV_LOC
=
$VIRTUALENV_LOC
VIRTUALENV_DIRS
=
$VIRTUALENV_LOC
# Purge "old-style" virtualenvs.
[
-d
$CACHE_DIR
/
$LEGACY_
VIRTUALENV_
TRIGGER
]
&&
rm
-fr
$CACHE_DIR
/
*
[
-d
$CACHE_DIR
/
$LEGACY_TRIGGER
]
&&
rm
-fr
$CACHE_DIR
/
*
# Restore old artifacts from the cache.
for
dir
in
$CACHED_DIRS
;
do
...
...
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