Skip to content
Snippets Groups Projects
Unverified Commit 06fa6d23 authored by Kenneth Reitz's avatar Kenneth Reitz Committed by GitHub
Browse files

Update README.md (#649)

parent df083fd3
No related branches found
No related tags found
No related merge requests found
...@@ -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`):
[requires] [requires]
python_version = "2.7" python_version = "2.7"
...@@ -56,9 +51,12 @@ Or, more specifically: ...@@ -56,9 +51,12 @@ Or, more specifically:
[requires] [requires]
python_full_version = "2.7.14" python_full_version = "2.7.14"
Or, with a `runtime.txt` file:
$ cat runtime.txt
python-2.7.14
Runtime options include: Runtime options include:
- `python-3.6.4` - `python-3.6.4`
- `python-2.7.14` - `python-2.7.14`
- `pypy-5.7.1` (unsupported, experimental)
- `pypy3-5.5.1` (unsupported, experimental)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment