粘贴webob wsgi应用程序和筛选器的部署入口点。
webobentrypoints的Python项目详细描述
pastedeploy webob wsgi应用程序的入口点
- 免费软件:BSD许可证
- 文档:https://webobentrypoints.readthedocs.org。
功能
WebOb包含几个WSGI应用程序,您可以将它们用作 申请。但是,它不包括准备使用的入口点 在pastedeploy ini文件中,例如 [变速箱](https://pypi.python.org/pypi/gearbox)
此模块提供这些入口点和所需的小包装
提供的入口点是:
鸡蛋:webobentrypoints#staticdir
示例用法
下面是使用staticdir和代理应用程序配置ini文件的示例:
[server:main] use = egg:gearbox#wsgiref host = 0.0.0.0 port = 5000 [composite:main] use = egg:rutter#urlmap /static = static / = content # Serve the /static directory from local disk [app:static] use = egg:webobentrypoints#staticdir path = %(here)s/theme # Otherwise display http://webob.org/ as the content [app:content] use = egg:webobentrypoints#proxy address = http://webob.org/ suppress_http_headers = accept-encoding connection
历史
0.1.0(2014-09-25)
- pypi上的第一个版本。