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
a00b4900
Commit
a00b4900
authored
Jan 18, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments
parent
cd01dc0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
compile
bin/compile
+6
-1
No files found.
bin/compile
View file @
a00b4900
...
@@ -133,17 +133,22 @@ except Exception:
...
@@ -133,17 +133,22 @@ except Exception:
EOF
EOF
fi
fi
echo
"-----> Activating virtualenv"
echo
"-----> Activating virtualenv"
source
bin/activate
source
bin/activate
# Install mercurial, if needed.
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
pip
install
--use-mirrors
mercurial | indent
pip
install
--use-mirrors
mercurial | indent
fi
fi
# Install dependencies.
echo
"-----> Installing dependencies using pip version
$(
bin/pip
--version
|
awk
'{print $2}'
)
"
echo
"-----> Installing dependencies using pip version
$(
bin/pip
--version
|
awk
'{print $2}'
)
"
pip
install
--use-mirrors
-r
requirements.txt | indent
pip
install
--use-mirrors
-r
requirements.txt | indent
# Make virtualenv relocatable.
set
+e
set
+e
OUT
=
$(
virtualenv
--relocatable
.
)
OUT
=
$(
virtualenv
--relocatable
.
)
[
$?
-ne
0
]
&&
{
[
$?
-ne
0
]
&&
{
...
@@ -153,7 +158,7 @@ OUT=$(virtualenv --relocatable .)
...
@@ -153,7 +158,7 @@ OUT=$(virtualenv --relocatable .)
}
}
set
-e
set
-e
#
store new artifacts in cache
#
Store new artifacts in cache.
for
dir
in
$VIRTUALENV_DIRS
;
do
for
dir
in
$VIRTUALENV_DIRS
;
do
rm
-rf
$CACHE_DIR
/
$dir
rm
-rf
$CACHE_DIR
/
$dir
cp
-R
$dir
$CACHE_DIR
/
cp
-R
$dir
$CACHE_DIR
/
...
...
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