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
7ac90f19
Commit
7ac90f19
authored
Jan 03, 2013
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unbuffer all the things
parent
90cc426c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
utils
bin/utils
+4
-2
No files found.
bin/utils
View file @
7ac90f19
shopt -s extglob
shopt -s extglob
[ $(uname) == "Darwin" ] && SED_FLAG='-l' || SED_FLAG='-u'
# Syntax sugar.
# Syntax sugar.
indent() {
indent() {
RE="s/^/ /"
RE="s/^/ /"
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u
"$RE"
sed $SED_FLAG
"$RE"
}
}
# Clean up pip output
# Clean up pip output
cleanup() {
cleanup() {
sed
-l -e 's/\.\.\.\+/.../g' | sed -e '/already satisfied/Id' | sed -l -e '/Overwriting/Id' | sed -l -e '/python executable/Id' | sed -l
-e '/no previously-included files/Id'
sed
$SED_FLAG -e 's/\.\.\.\+/.../g' | sed $SED_FLAG '/already satisfied/Id' | sed $SED_FLAG -e '/Overwriting/Id' | sed $SED_FLAG -e '/python executable/Id' | sed $SED_FLAG
-e '/no previously-included files/Id'
}
}
# Virtualenv wrapper.
# Virtualenv wrapper.
...
...
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