Skip to content

Commit f1ee7fc

Browse files
author
Kenneth Reitz
committed
comment updates
1 parent e8585fb commit f1ee7fc

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

bin/compile

+21-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
#!/usr/bin/env bash
22

3-
# This script serves as the
4-
# [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python)
5-
# compiler.
6-
#
7-
# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an
3+
# This script serves as the
4+
# [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python)
5+
# compiler.
6+
#
7+
# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an
88
# adapter between a Python application and Heroku's runtime.
9-
9+
#
10+
# You can intreract with the Heroku API directly with [heroku.py](https://github.com/heroku/heroku.py/).
11+
#
12+
# See also: [Release history](/changelog.html), [Detection](/detect.html).
13+
#
1014
# ## Usage
1115
# Compiling an app into a slug is simple:
12-
#
16+
#
1317
# $ bin/compile <build-dir> <cache-dir>
1418

1519

1620
# ## Assumptions
17-
#
21+
#
1822
# This buildpack makes the following assumptions:
19-
#
23+
#
2024
# - The desired Python VM is available on the base system.
2125
# - Library dependencies are available on the base system.
2226
# - Django applications should not require any platform-specific configuration.
@@ -81,13 +85,13 @@ function puts-warn (){
8185
}
8286

8387
# ## Build Time
84-
#
88+
#
8589

8690
# Switch to the repo's context.
8791
cd $BUILD_DIR
8892

8993
# ### Sanity Checks
90-
#
94+
#
9195
# Just a little peace of mind.
9296

9397
# If no requirements given, assume `setup.py develop`.
@@ -134,7 +138,7 @@ done
134138
#
135139

136140
# Create the virtualenv. Rebuild if corrupt.
137-
# TODO: Bootstrap a bottled Python VM...
141+
# TODO: Bootstrap a bottled Python VM...
138142

139143
set +e
140144
puts-step "Preparing Python interpreter ($PYTHON_VERSION)"
@@ -155,7 +159,7 @@ echo "$OUT" | indent
155159

156160
set -e
157161

158-
# Pylibmc support.
162+
# Pylibmc support.
159163
# See [`bin/steps/pylibmc`](pylibmc.html).
160164
source $BIN_DIR/steps/pylibmc
161165

@@ -174,7 +178,7 @@ pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent
174178

175179
# Do additional application hackery if applications appears to be a Django app.
176180
# Optionally, disable all Django-specific changes with `DISABLE_INJECTION` env.
177-
#
181+
#
178182
# See [`bin/steps/django`](django.html).
179183

180184
if [ "$NAME" = "Python/Django" ] && ! [ "$DISABLE_INJECTION" ]; then
@@ -201,4 +205,6 @@ for dir in $CACHED_DIRS; do
201205
cp -R $dir $CACHE_DIR/
202206
done
203207

204-
# ### Fin.
208+
# ### Fin.
209+
210+
# <a href="http://github.com/heroku/heroku-buildpack-python"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>

0 commit comments

Comments
 (0)