Pyramid WSGI recipe
Project description
Introduction
============
''w20e.pyramidwsgi.recipe'' is a `zc.buildout`_ recipe that creates a
WSGI script for inclusion in Apache `using mod_wsgi`_. The Apache
config skeleton can also be created (optional).
To create a WSGI config for your Pyramid app, include a section in
your ''buildout.cfg'' like so::
[wsgi]
recipe = w20e.pyramidwsgi.recipe
eggs = ${pyramid:eggs}
extra-paths = ${pyramid:extra-paths}
script_name = yourapp
ini_file = ${buildout:directory}/production.ini
apache_config = ${buildout:directory}/apache_wsgi.conf
This will create a python script in bin called ''yourapp.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. If you provide the optional apache_config option, the Apache
config file will be created. This is a skeleton however, some
parameters need to be filled in.
.. _zc.buildout: http://pypi.python.org/pypi/zc.buildout
.. _mod_wsgi: http://code.google.com/p/modwsgi/
============
''w20e.pyramidwsgi.recipe'' is a `zc.buildout`_ recipe that creates a
WSGI script for inclusion in Apache `using mod_wsgi`_. The Apache
config skeleton can also be created (optional).
To create a WSGI config for your Pyramid app, include a section in
your ''buildout.cfg'' like so::
[wsgi]
recipe = w20e.pyramidwsgi.recipe
eggs = ${pyramid:eggs}
extra-paths = ${pyramid:extra-paths}
script_name = yourapp
ini_file = ${buildout:directory}/production.ini
apache_config = ${buildout:directory}/apache_wsgi.conf
This will create a python script in bin called ''yourapp.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. If you provide the optional apache_config option, the Apache
config file will be created. This is a skeleton however, some
parameters need to be filled in.
.. _zc.buildout: http://pypi.python.org/pypi/zc.buildout
.. _mod_wsgi: http://code.google.com/p/modwsgi/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for w20e.pyramidwsgi.recipe-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6729dae34cfb7401d53359e164151fb402631940a752ce7d214b2db2fc3a47a |
|
MD5 | 58fac83ac80b838a33047ca3b915f6fd |
|
BLAKE2b-256 | 45c35bd1549c5663c4403b711d8dad4c82623948773589397b9b8ad48aa3bbf9 |