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
160497cb
Commit
160497cb
authored
Sep 23, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #55 from dcrosta/patch-1
Set `$VIRTUALENV_DIRS` for `$CLEAN_VIRTUALENV`
parents
e288332f
6194f94a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
compile
bin/compile
+2
-0
No files found.
bin/compile
View file @
160497cb
...
@@ -124,11 +124,13 @@ mkdir -p $CACHE_DIR
...
@@ -124,11 +124,13 @@ mkdir -p $CACHE_DIR
# Nice defaults.
# Nice defaults.
LEGACY_VIRTUALENV
=
false
LEGACY_VIRTUALENV
=
false
VIRTUALENV_LOC
=
$MODERN_VIRTUALENV_LOC
VIRTUALENV_LOC
=
$MODERN_VIRTUALENV_LOC
VIRTUALENV_DIRS
=
$MODERN_VIRTUALENV_LOC
# Support "old-style" virtualenvs.
# Support "old-style" virtualenvs.
if
[
-d
$CACHE_DIR
/
$LEGACY_VIRTUALENV_TRIGGER
]
;
then
if
[
-d
$CACHE_DIR
/
$LEGACY_VIRTUALENV_TRIGGER
]
;
then
LEGACY_VIRTUALENV
=
true
LEGACY_VIRTUALENV
=
true
VIRTUALENV_LOC
=
$LEGACY_VIRTUALENV_LOC
VIRTUALENV_LOC
=
$LEGACY_VIRTUALENV_LOC
VIRTUALENV_DIRS
=
$LEGACY_VIRTUALENV_DIRS
CACHED_DIRS
=
$LEGACY_VIRTUALENV_DIRS
CACHED_DIRS
=
$LEGACY_VIRTUALENV_DIRS
# Warn for a checked-in virtualenv.
# Warn for a checked-in virtualenv.
...
...
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