tranchitella.recipe.wsgi
========================
This recipe creates a `paste.deploy`_ entry point for mod_wsgi_.
Usage
-----
This is a minimal ''buildout.cfg'' file which creates a WSGI script mod_wsgi
can use::
[buildout]
parts = wsgi
[wsgi]
recipe = tranchitella.recipe.wsgi
eggs = myapplication
config-file = ${buildout:directory}/etc/deploy.ini
environ =
CHAMELEON_CACHE=true
CHAMELEON_STRICT=true
This will create a small python script in the bin directory called ''wsgi''
which mod_wsgi can load. You can also use the optional ''extra-paths'' option
to specify extra paths that are added to the python system path.
You may also use the ''script-name'' option to specify the name of the
generated script file, if ''wsgi'' is unsuitable.
The apache configuration for this buildout looks like this:::
WSGIScriptAlias /mysite /path/to/buildout/bin/wsgi
<Directory /home/me/buildout>
Order deny,allow
Allow from all
</Directory>
This recipe does not fully install packages, which means that console scripts
will not be created. If you need console scripts you can add a second buildout
part which uses `zc.recipe.egg`_ to do a full install.
.. _zc.buildout: http://pypi.python.org/pypi/zc.buildout
.. _paste.deploy: http://pythonpaste.org/deploy/
.. _mod_wsgi: http://code.google.com/p/modwsgi/
.. _zc.recipe.egg: http://pypi.python.org/pypi/zc.recipe.egg
PyPI 官网下载 | tranchitella.recipe.wsgi-0.4.tar.gz
版权申诉
56 浏览量
2022-02-02
08:04:50
上传
评论
收藏 12KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- 电力场景设备漏油检测数据集VOC+YOLO格式338张1类别.7z
- 基于yolov8+pyqt5实现精美界面支持图片视频和摄像检测源码.zip
- 用C语言为母亲节献上一份特别的祝福.zip
- LCD1602液晶显示屏的深入探索与实用指南.zip
- 基于Matlab人脸肤色定理的教师人数统计+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab霍夫曼变换的表盘读数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab火灾烟雾检测源码带GUI界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的恶劣天气交通标志识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的霍夫曼变换的表盘示数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的车道线识别系统 +源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈