mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 06:46:16 +00:00
Include Templates and Bump Version to 0.1.1
I forgot to include the templates in setup.py, so httpbin would complain and return a 500 when accessing views that require templates. This fixes that problem by adding them as "data" in setup.py and MANIFEST.in
This commit is contained in:
@@ -114,6 +114,20 @@ All endpoint responses are JSON-encoded.
|
||||
"url": "http://httpbin.org/get?show_env=1"
|
||||
}
|
||||
|
||||
## Installing and running from PyPI
|
||||
|
||||
You can install httpbin as a library from PyPI and run it as a WSGI app. For example, using Gunicorn:
|
||||
|
||||
```bash
|
||||
$ pip install httpbin
|
||||
$ gunicorn httpbin:app
|
||||
```
|
||||
|
||||
## Changelog
|
||||
|
||||
* 0.1.1: Added templates as data in setup.py
|
||||
* 0.1.0: Added python3 support and (re)publish on PyPI
|
||||
|
||||
## AUTHOR
|
||||
|
||||
A [Kenneth Reitz](http://kennethreitz.com/pages/open-projects.html)
|
||||
|
||||
Reference in New Issue
Block a user