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
3de886d4
Commit
3de886d4
authored
Oct 28, 2011
by
Noah Zoschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call vendored virtualenv script
parent
f7719760
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
compile
bin/compile
+6
-0
No files found.
bin/compile
View file @
3de886d4
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
set
-eo
pipefail
set
-eo
pipefail
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
ROOT_DIR
=
$(
dirname
$BIN_DIR
)
BUILD_DIR
=
$1
BUILD_DIR
=
$1
CACHE_DIR
=
$2
CACHE_DIR
=
$2
...
@@ -11,6 +12,11 @@ NAME=$($BIN_DIR/detect $BUILD_DIR)
...
@@ -11,6 +12,11 @@ NAME=$($BIN_DIR/detect $BUILD_DIR)
PIP_DOWNLOAD_CACHE
=
${
PIP_DOWNLOAD_CACHE
:-
$CACHE_DIR
/pip_downloads
}
PIP_DOWNLOAD_CACHE
=
${
PIP_DOWNLOAD_CACHE
:-
$CACHE_DIR
/pip_downloads
}
VIRTUALENV_DIRS
=
"bin include lib"
VIRTUALENV_DIRS
=
"bin include lib"
virtualenv
()
{
VENV_PATH
=
$ROOT_DIR
/src/virtualenv-1.6.4
PYTHONPATH
=
$VENV_PATH
python
$VENV_PATH
/scripts/virtualenv
"
$@
"
}
indent
()
{
indent
()
{
RE
=
"s/^/ /"
RE
=
"s/^/ /"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
...
...
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