diff --git a/Readme.md b/Readme.md index b245f51069a8b76abdd13dbc1b39cb6387dce7d4..b40c86b5638f4fe7b8bdd7cfbee910f9849f5742 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,7 @@ # Heroku Buildpack: Python  -This is the official [Heroku buildpack](http://devcenter.heroku.com/articles/buildpacks) for Python apps, powered by [pip](http://www.pip-installer.org/) and other excellent software. +This is the official [Heroku buildpack](https://devcenter.heroku.com/articles/buildpacks) for Python apps, powered by [pip](https://pip.pypa.io/) and other excellent software. Recommended web frameworks include **Django** and **Flask**. The recommended webserver is **Gunicorn**. There are no restrictions around what software can be used (as long as it's pip-installable). Web processes must bind to `$PORT`, and only the HTTP protocol is permitted for incoming connections. @@ -15,7 +15,7 @@ Deploying a Python application couldn't be easier: $ ls Procfile requirements.txt web.py - $ heroku create --buildpack git://github.com/heroku/heroku-buildpack-python.git + $ heroku create --buildpack heroku/python $ git push heroku master ... @@ -32,12 +32,11 @@ Deploying a Python application couldn't be easier: A `requirements.txt` file must be present at the root of your application's repository. -You can also specify the latest production relase of this buildpack for upcoming builds of an existing application: +You can also specify the latest production release of this buildpack for upcoming builds of an existing application: $ heroku buildpacks:set heroku/python - Specify a Python Runtime ------------------------ diff --git a/bin/compile b/bin/compile index 45e961763077ce9052547a4bf9fddd9967a86563..1d2d653518fa362cb8bf943caed037e0d1162e35 100755 --- a/bin/compile +++ b/bin/compile @@ -1,10 +1,10 @@ #!/usr/bin/env bash -# The Heroku Python Buildpack. This script accepts paramaters for a build +# The Heroku Python Buildpack. This script accepts parameters for a build # directory, a cache directory, and a directory for app environment variables. -# Warning: there are a few hacks in this script to accomidate excellent builds -# on Heroku. No gaurentee for external compatibility is made. However, +# Warning: there are a few hacks in this script to accommodate excellent builds +# on Heroku. No guarantee for external compatibility is made. However, # everything should work fine outside of the Heroku environment, if the # environment is setup correctly. @@ -73,7 +73,7 @@ source $BIN_DIR/utils # Import collection of warnings. source $BIN_DIR/warnings -# Directory Hacks for path consistiency. +# Directory Hacks for path consistency. APP_DIR='/app' TMP_APP_DIR=$CACHE_DIR/tmp_app_dir diff --git a/bin/detect b/bin/detect index 818ed74e96c6029569850e5ed09548a5165b791e..e114d71c6324efca29e7551b01d62b925051f6ab 100755 --- a/bin/detect +++ b/bin/detect @@ -4,7 +4,7 @@ # [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python) # detector. # -# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an +# A [buildpack](https://devcenter.heroku.com/articles/buildpacks) is an # adapter between a Python application and Heroku's runtime. # ## Usage diff --git a/bin/steps/collectstatic b/bin/steps/collectstatic index 12f05db15626d9e7dc5655bf2b76926d6301f4f6..f8f63f5b9464299c164d9e1ea860d42e08dd6a07 100755 --- a/bin/steps/collectstatic +++ b/bin/steps/collectstatic @@ -19,7 +19,7 @@ MANAGE_FILE=${MANAGE_FILE:-fakepath} # Legacy file-based support for $DISABLE_COLLECTSTATIC [ -f .heroku/collectstatic_disabled ] && DISABLE_COLLECTSTATIC=1 -# Ensure that Django is explicitily specified in requirments.txt +# Ensure that Django is explicitly specified in requirements.txt pip-grep -s requirements.txt django Django && DJANGO_INSTALLED=1 bpwatch start collectstatic # metrics collection @@ -47,7 +47,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALL echo echo " $ heroku config:set DISABLE_COLLECTSTATIC=1" echo - echo " http://devcenter.heroku.com/articles/django-assets" + echo " https://devcenter.heroku.com/articles/django-assets" # Additionally, dump out the environment, if debug mode is on. if [ "$DEBUG_COLLECTSTATIC" ]; then diff --git a/bin/steps/cryptography b/bin/steps/cryptography index 5fcb119397816e7d7b2ca426409aba175687576b..56ef778d08357f27797a627afb5b8e8c50639f43 100755 --- a/bin/steps/cryptography +++ b/bin/steps/cryptography @@ -4,7 +4,7 @@ # [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python) # compiler. # -# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an +# A [buildpack](https://devcenter.heroku.com/articles/buildpacks) is an # adapter between a Python application and Heroku's runtime. # # This script is invoked by [`bin/compile`](/). diff --git a/bin/steps/gdal b/bin/steps/gdal index 31a23fd6697caf41a8b6e00997894ce9b88dadb9..032a34598f3ec42368d4bc6470c418bf2fe8751c 100755 --- a/bin/steps/gdal +++ b/bin/steps/gdal @@ -4,7 +4,7 @@ # [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python) # compiler. # -# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an +# A [buildpack](https://devcenter.heroku.com/articles/buildpacks) is an # adapter between a Python application and Heroku's runtime. # # This script is invoked by [`bin/compile`](/). diff --git a/bin/steps/pylibmc b/bin/steps/pylibmc index b4bde751783dda7390b5cd07dd29a3c7e1994265..f3f13c604d9c345ec397fcfbae08efb78b1dc9ff 100755 --- a/bin/steps/pylibmc +++ b/bin/steps/pylibmc @@ -4,7 +4,7 @@ # [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python) # compiler. # -# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an +# A [buildpack](https://devcenter.heroku.com/articles/buildpacks) is an # adapter between a Python application and Heroku's runtime. # # This script is invoked by [`bin/compile`](/).