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
d47970fd
Commit
d47970fd
authored
Jan 18, 2014
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sticky runtimes
parent
69bdca06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
compile
bin/compile
+7
-2
No files found.
bin/compile
View file @
d47970fd
...
...
@@ -25,8 +25,7 @@ VIRTUALENV_LOC=".heroku/venv"
LEGACY_TRIGGER
=
"lib/python2.7"
PROFILE_PATH
=
"
$BUILD_DIR
/.profile.d/python.sh"
# Python version. This will be used in the future to specify custom Pythons.
DEFAULT_PYTHON_VERSION
=
"python-2.7.4"
DEFAULT_PYTHON_VERSION
=
"python-2.7.6"
PYTHON_EXE
=
"/app/.heroku/python/bin/python"
PIP_VERSION
=
"1.3.1"
DISTRIBUTE_VERSION
=
"0.6.36"
...
...
@@ -103,6 +102,12 @@ if [ ! -f requirements.txt ]; then
echo
"-e ."
>
requirements.txt
fi
# Sticky runtimes.
if
[
-f
.heroku/python-version
]
;
then
DEFAULT_PYTHON_VERSION
=
$(
cat
.heroku/python-version
)
fi
# If no runtime given, assume default version.
if
[
!
-f
runtime.txt
]
;
then
puts-step
"No runtime.txt provided; assuming
$DEFAULT_PYTHON_VERSION
."
...
...
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