Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pyramid WSGI recipe

Project Description

''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::

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:
.. _mod_wsgi:
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
w20e.pyramidwsgi.recipe-1.0.0.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Nov 30, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting