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
863abfb0
Commit
863abfb0
authored
Dec 03, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups
parent
f7826935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
compile
bin/compile
+4
-5
No files found.
bin/compile
View file @
863abfb0
...
@@ -74,7 +74,7 @@ indent() {
...
@@ -74,7 +74,7 @@ indent() {
# Clean up pip output
# Clean up pip output
cleanup
()
{
cleanup
()
{
sed
-e
'
/already satisfied
/Id'
sed
-e
'
s/\.\.\.\+/.../g'
|
sed
-e
'/already satisfied/Id'
|
sed
-e
'/Overwriting/Id'
|
sed
-e
'/python executable/Id'
|
sed
-e
'/no previously-included files
/Id'
}
}
# Virtualenv wrapper.
# Virtualenv wrapper.
...
@@ -177,7 +177,7 @@ mkdir -p $(dirname $PROFILE_PATH)
...
@@ -177,7 +177,7 @@ mkdir -p $(dirname $PROFILE_PATH)
set
+e
set
+e
puts-step
"Preparing Python interpreter (
$PYTHON_VERSION
)"
puts-step
"Preparing Python interpreter (
$PYTHON_VERSION
)"
puts-step
"Creating Virtualenv
version
$(
virtualenv
--version
)
"
puts-step
"Creating Virtualenv
(
$(
virtualenv
--version
)
)"
# Try to create the virtualenv.
# Try to create the virtualenv.
OUT
=
$(
virtualenv
--python
$PYTHON_EXE
--distribute
--never-download
--prompt
=
'(venv) '
$VIRTUALENV_LOC
2>&1
)
OUT
=
$(
virtualenv
--python
$PYTHON_EXE
--distribute
--never-download
--prompt
=
'(venv) '
$VIRTUALENV_LOC
2>&1
)
...
@@ -192,7 +192,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt='(v
...
@@ -192,7 +192,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt='(v
done
done
OUT
=
$(
virtualenv
--python
$PYTHON_EXE
--distribute
--never-download
--prompt
=
'(venv) '
$VIRTUALENV_LOC
)
OUT
=
$(
virtualenv
--python
$PYTHON_EXE
--distribute
--never-download
--prompt
=
'(venv) '
$VIRTUALENV_LOC
)
}
}
echo
"
$OUT
"
|
sed
-e
's/\.\.\.\+/.../g'
| indent
echo
"
$OUT
"
| cleanup
| indent
set
-e
set
-e
...
@@ -201,7 +201,6 @@ set -e
...
@@ -201,7 +201,6 @@ set -e
source
$BIN_DIR
/steps/pylibmc
source
$BIN_DIR
/steps/pylibmc
# Activate the Virtualenv.
# Activate the Virtualenv.
puts-step
"Activating virtualenv"
source
$VIRTUALENV_LOC
/bin/activate
source
$VIRTUALENV_LOC
/bin/activate
# Install Mercurial if it appears to be required.
# Install Mercurial if it appears to be required.
...
@@ -210,7 +209,7 @@ if (grep -Fiq "hg+" requirements.txt) then
...
@@ -210,7 +209,7 @@ if (grep -Fiq "hg+" requirements.txt) then
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
(
$(
pip
--version
|
awk
'{print $2}'
)
)"
pip
install
--use-mirrors
-r
requirements.txt
--exists-action
=
w
--src
=
./.heroku/src | cleanup | 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.
...
...
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