Skip to content

wyldebeast-wunderliebe/Pyramid-WSGI-recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Buildout recipe for creating a WSGI config for your Pyramid app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages