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
2b4e9be4
Commit
2b4e9be4
authored
Dec 03, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #61 from gulopine/already-satisfied
Clean up output of virtualenv setup
parents
382dff7e
ddf353cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
compile
bin/compile
+7
-2
No files found.
bin/compile
View file @
2b4e9be4
...
@@ -72,6 +72,11 @@ indent() {
...
@@ -72,6 +72,11 @@ indent() {
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
}
}
# Clean up pip output
cleanup
()
{
sed
-e
'/already satisfied/Id'
}
# Virtualenv wrapper.
# Virtualenv wrapper.
function
virtualenv
(){
function
virtualenv
(){
python
"
$ROOT_DIR
/vendor/virtualenv-1.7.2/virtualenv.py"
"
$@
"
python
"
$ROOT_DIR
/vendor/virtualenv-1.7.2/virtualenv.py"
"
$@
"
...
@@ -201,12 +206,12 @@ source $VIRTUALENV_LOC/bin/activate
...
@@ -201,12 +206,12 @@ source $VIRTUALENV_LOC/bin/activate
# Install Mercurial if it appears to be required.
# Install Mercurial if it appears to be required.
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 |
cleanup |
indent
fi
fi
# Install dependencies with Pip.
# Install dependencies with Pip.
puts-step
"Installing dependencies using pip version
$(
pip
--version
|
awk
'{print $2}'
)
"
puts-step
"Installing dependencies using pip version
$(
pip
--version
|
awk
'{print $2}'
)
"
pip
install
--use-mirrors
-r
requirements.txt
--exists-action
=
w
--src
=
./.heroku/src | indent
pip
install
--use-mirrors
-r
requirements.txt
--exists-action
=
w
--src
=
./.heroku/src |
cleanup |
indent
# Do additional application hackery if applications appears to be a Django app.
# Do additional application hackery if applications appears to be a Django app.
# Optionally, disable all Django-specific changes with `DISABLE_INJECTION` env.
# Optionally, disable all Django-specific changes with `DISABLE_INJECTION` env.
...
...
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