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
63810f29
Commit
63810f29
authored
Mar 10, 2017
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
passing tests
parent
0de749a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
pipenv
bin/steps/pipenv
+2
-2
python
bin/steps/python
+3
-1
utils
test/utils
+2
-0
No files found.
bin/steps/pipenv
View file @
63810f29
...
@@ -4,8 +4,8 @@ if [[ -f Pipfile ]]; then
...
@@ -4,8 +4,8 @@ if [[ -f Pipfile ]]; then
if [[ ! -f requirements.txt ]]; then
if [[ ! -f requirements.txt ]]; then
puts-step "Generating 'requirements.txt' with pipenv"
puts-step "Generating 'requirements.txt' with pipenv"
pip install pipenv --upgrade &> /dev/null
/app/.heroku/python/bin/
pip install pipenv --upgrade &> /dev/null
pipenv lock --requirements > requirements.txt 2> /dev/null
/app/.heroku/python/bin/
pipenv lock --requirements > requirements.txt 2> /dev/null
pipstrip requirements.txt
pipstrip requirements.txt
fi
fi
...
...
bin/steps/python
View file @
63810f29
...
@@ -46,7 +46,9 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
...
@@ -46,7 +46,9 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
trap "rm -rf $TMPTARDIR" RETURN
trap "rm -rf $TMPTARDIR" RETURN
puts-step "Bootstrapping pip"
puts-step "Bootstrapping pip"
python $ROOT_DIR/vendor/get-pip.py
/app/.heroku/python/bin/python $ROOT_DIR/vendor/get-pip.py | indent
/app/.heroku/python/bin/pip install setuptools --upgrade &> /dev/null
fi
fi
...
...
test/utils
View file @
63810f29
...
@@ -150,6 +150,8 @@ _assertContains()
...
@@ -150,6 +150,8 @@ _assertContains()
debug
()
debug
()
{
{
cat
$STD_OUT
cat
$STD_OUT
echo
'^^^^^^'
cat
$STD_ERR
}
}
assertContains
()
assertContains
()
...
...
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