Buildout recipe to create paste.deploy entry points for mod_wsgi
Project description
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.
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.
0.1 (2010-02-17)
First public release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for tranchitella.recipe.wsgi-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3053b9a3e386a665c4b200a01458ae18e1bbe637fc4d10a8c3dd5200d146d1cb |
|
MD5 | 7b315d5ca5e50978aea315f0014ab210 |
|
BLAKE2b-256 | 8461b836a9e8c99e47fd5fa529212a807b29844969885db39d474f8fe5d62475 |