@@ -8,7 +8,7 @@ This is the official [Heroku buildpack](https://devcenter.heroku.com/articles/bu
...
@@ -8,7 +8,7 @@ This is the official [Heroku buildpack](https://devcenter.heroku.com/articles/bu
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.
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.
Some Python packages with obscure C dependencies are [not compatible](https://devcenter.heroku.com/articles/python-c-deps).
Python packages with C dependencies that are not [available on the stack image](https://devcenter.heroku.com/articles/stack-packages) are generally not supported, unless `manylinux` wheels are provided by the package maintainers (common). For recommended solutions, check out [this article](https://devcenter.heroku.com/articles/python-c-deps) for more information.
See it in Action
See it in Action
----------------
----------------
...
@@ -16,7 +16,7 @@ See it in Action
...
@@ -16,7 +16,7 @@ See it in Action
Deploying a Python application couldn't be easier:
Deploying a Python application couldn't be easier:
$ ls
$ ls
Pipfile Procfile web.py
Pipfile Pipfile.lock Procfile web.py
$ heroku create --buildpack heroku/python
$ heroku create --buildpack heroku/python
...
@@ -41,12 +41,7 @@ You can also specify the latest production release of this buildpack for upcomin
...
@@ -41,12 +41,7 @@ You can also specify the latest production release of this buildpack for upcomin
Specify a Python Runtime
Specify a Python Runtime
------------------------
------------------------
Specific versions of the Python runtime can be specified with a `runtime.txt` file:
Specific versions of the Python runtime can be specified in your `Pipfile`:
$ cat runtime.txt
python-2.7.14
Or, with a `Pipfile.lock` (generated from the following `Pipfile`):