Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
65648fb7
Commit
65648fb7
authored
8 years ago
by
Kenneth Reitz
Browse files
Options
Downloads
Patches
Plain Diff
fix tests
parent
45b0d185
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bin/compile
+3
-3
3 additions, 3 deletions
bin/compile
bin/steps/pipenv
+1
-0
1 addition, 0 deletions
bin/steps/pipenv
bin/steps/python
+4
-20
4 additions, 20 deletions
bin/steps/python
test/run
+0
-1
0 additions, 1 deletion
test/run
with
8 additions
and
24 deletions
bin/compile
+
3
−
3
View file @
65648fb7
...
...
@@ -158,9 +158,6 @@ source $BIN_DIR/steps/python
# Sanity check for setuptools/distribute.
source
$BIN_DIR
/steps/setuptools
# Fix egg-links.
source
$BIN_DIR
/steps/eggpath-fix
# Pipenv support.
source
$BIN_DIR
/steps/pipenv
...
...
@@ -169,6 +166,9 @@ if [ ! -f requirements.txt ] && [ ! -f Pipfile ]; then
echo
"-e ."
>
requirements.txt
fi
# Fix egg-links.
source
$BIN_DIR
/steps/eggpath-fix
# Mercurial support.
source
$BIN_DIR
/steps/mercurial
...
...
This diff is collapsed.
Click to expand it.
bin/steps/pipenv
+
1
−
0
View file @
65648fb7
...
...
@@ -4,6 +4,7 @@ if [[ -f Pipfile ]]; then
puts-step "Generating 'requirements.txt' with pipenv"
/app/.heroku/python/bin/pip install pipenv --upgrade &> /dev/null
/app/.heroku/python/bin/pipenv lock --requirements --no-hashes > $BUILD_DIR/requirements.txt 2> /dev/null
fi
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bin/steps/python
+
4
−
20
View file @
65648fb7
...
...
@@ -56,28 +56,12 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
trap "rm -rf $TMPTARDIR" RETURN
puts-step "Installing pip"
/app/.heroku/python/bin/python $ROOT_DIR/vendor/get-pip.py &> /dev/null
# bpwatch start install_setuptools
# # Prepare it for the real world
# puts-step "Installing Setuptools ($SETUPTOOLS_VERSION)"
# tar zxf $ROOT_DIR/vendor/setuptools-$SETUPTOOLS_VERSION.tar.gz -C $TMPTARDIR
# cd $TMPTARDIR/setuptools-$SETUPTOOLS_VERSION/
# /app/.heroku/python/bin/python setup.py install &> /dev/null
# cd $WORKING_DIR
# bpwatch stop install_setuptoools
# bpwatch start install_pip
# puts-step "Installing Pip ($PIP_VERSION)"
# tar zxf $ROOT_DIR/vendor/pip-$PIP_VERSION.tar.gz -C $TMPTARDIR
# cd $TMPTARDIR/pip-$PIP_VERSION/
# /app/.heroku/python/bin/python setup.py install &> /dev/null
# cd $WORKING_DIR
# bpwatch stop install_pip
# Remove old installations.
rm -fr /app/.heroku/python/lib/python2.7/site-packages/pip-*
rm -fr /app/.heroku/python/lib/python2.7/site-packages/setuptools-*
/app/.heroku/python/bin/python $ROOT_DIR/vendor/get-pip.py &> /dev/null
bpwatch stop prepare_environment
fi
...
...
This diff is collapsed.
Click to expand it.
test/run
+
0
−
1
View file @
65648fb7
...
...
@@ -3,7 +3,6 @@
testPipenv
()
{
compile
"pipenv"
debug
assertCapturedSuccess
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment