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
0aa12399
Commit
0aa12399
authored
Feb 09, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup cleanup
parent
cd4d811d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
pip-install
bin/steps/pip-install
+1
-3
utils
bin/utils
+0
-10
No files found.
bin/steps/pip-install
View file @
0aa12399
...
...
@@ -5,12 +5,10 @@ puts-cmd "pip install -r requirements.txt"
[ "$FRESH_PYTHON" ] && bpwatch start pip_install_first
set +e
/app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 |
log-output
| cleanup | indent
/app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 |
tee $WARNINGS_LOG
| cleanup | indent
PIP_STATUS="${PIPESTATUS[0]}"
set -e
wait
show-warnings
if [[ ! $PIP_STATUS -eq 0 ]]; then
...
...
bin/utils
View file @
0aa12399
...
...
@@ -11,16 +11,6 @@ indent() {
sed "s/^/ /"
}
# Log output for warning detection
log-output() (
while read LINE;
do
echo "$LINE"
echo "$LINE" >> "$WARNINGS_LOG"
done
)
# Clean up pip output
cleanup() {
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'
...
...
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