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
09b7e448
Commit
09b7e448
authored
Mar 08, 2017
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
e26a0f04
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20074 additions
and
15 deletions
+20074
-15
python
bin/steps/python
+4
-14
Pipfile
test/fixtures/pipenv/Pipfile
+1
-1
run
test/run
+8
-0
get-pip.py
vendor/get-pip.py
+20061
-0
pip-9.0.1.tar.gz
vendor/pip-9.0.1.tar.gz
+0
-0
setuptools-34.3.1.zip
vendor/setuptools-34.3.1.zip
+0
-0
No files found.
bin/steps/python
View file @
09b7e448
...
@@ -54,23 +54,13 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
...
@@ -54,23 +54,13 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
TMPTARDIR=$(mktemp -d)
TMPTARDIR=$(mktemp -d)
trap "rm -rf $TMPTARDIR" RETURN
trap "rm -rf $TMPTARDIR" RETURN
bpwatch start install_setuptools
# Prepare it for the real world
puts-step "Installing Setuptools ($SETUPTOOLS_VERSION)"
unzip $ROOT_DIR/vendor/setuptools-$SETUPTOOLS_VERSION.zip -d $TMPTARDIR
cd $TMPTARDIR/setuptools-$SETUPTOOLS_VERSION/
python setup.py install
cd $WORKING_DIR
bpwatch stop install_setuptoools
bpwatch start install_pip
bpwatch start install_pip
puts-step "Installing Pip ($PIP_VERSION)"
tar zxf $ROOT_DIR/vendor/pip-$PIP_VERSION.tar.gz -C $TMPTARDIR
puts-step "Bootstrapping pip"
cd $TMPTARDIR/pip-$PIP_VERSION/
python $ROOT_DIR/vendor/get-pip.py
python setup.py install
cd $WORKING_DIR
bpwatch stop install_pip
bpwatch stop install_pip
bpwatch stop prepare_environment
bpwatch stop prepare_environment
fi
fi
...
...
test/fixtures/pipenv/Pipfile
View file @
09b7e448
[packages]
[packages]
requests
= "*"
maya
= "*"
test/run
View file @
09b7e448
...
@@ -5,6 +5,14 @@ testNoRequirements() {
...
@@ -5,6 +5,14 @@ testNoRequirements() {
assertCapturedError
assertCapturedError
}
}
testPipenv
()
{
compile
"pipenv"
assertCaptured
"maya"
assertCapturedSuccess
}
testSetupPy
()
{
testSetupPy
()
{
compile
"setup-py"
compile
"setup-py"
assertCaptured
"maya"
assertCaptured
"maya"
...
...
vendor/get-pip.py
0 → 100644
View file @
09b7e448
This diff is collapsed.
Click to expand it.
vendor/pip-9.0.1.tar.gz
deleted
100644 → 0
View file @
e26a0f04
File deleted
vendor/setuptools-34.3.1.zip
deleted
100644 → 0
View file @
e26a0f04
File deleted
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