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
3a42f565
Commit
3a42f565
authored
Jul 17, 2014
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the order of things
parent
8f1942a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
compile
bin/compile
+7
-10
No files found.
bin/compile
View file @
3a42f565
...
@@ -148,16 +148,6 @@ mkdir -p $(dirname $PROFILE_PATH)
...
@@ -148,16 +148,6 @@ mkdir -p $(dirname $PROFILE_PATH)
set
+e
set
+e
PYTHON_VERSION
=
$(
cat
runtime.txt
)
PYTHON_VERSION
=
$(
cat
runtime.txt
)
rm
-fr
.heroku/python
if
[
!
$STACK
=
$CACHED_PYTHON_STACK
]
;
then
bpwatch start uninstall_python
puts-step
"Stack changed, re-installing
$PYTHON_VERSION
."
rm
-fr
.heroku/python
bpwatch stop uninstall_python
else
SKIP_INSTALL
=
1
fi
# Install Python.
# Install Python.
if
[
-f
.heroku/python-version
]
;
then
if
[
-f
.heroku/python-version
]
;
then
if
[
!
$(
cat
.heroku/python-version
)
=
$PYTHON_VERSION
]
;
then
if
[
!
$(
cat
.heroku/python-version
)
=
$PYTHON_VERSION
]
;
then
...
@@ -170,6 +160,13 @@ if [ -f .heroku/python-version ]; then
...
@@ -170,6 +160,13 @@ if [ -f .heroku/python-version ]; then
fi
fi
fi
fi
if
[
!
$STACK
=
$CACHED_PYTHON_STACK
]
;
then
bpwatch start uninstall_python
puts-step
"Stack changed, re-installing
$PYTHON_VERSION
."
rm
-fr
.heroku/python
bpwatch stop uninstall_python
fi
if
[
!
"
$SKIP_INSTALL
"
]
;
then
if
[
!
"
$SKIP_INSTALL
"
]
;
then
bpwatch start install_python
bpwatch start install_python
...
...
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