Skip to content

Instantly share code, notes, and snippets.

@glenfant
Created June 29, 2013 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glenfant/5890957 to your computer and use it in GitHub Desktop.
Save glenfant/5890957 to your computer and use it in GitHub Desktop.
Make a wsgi script with zc.buildout (buildout.cfg)
[wsgiscript]
# Build the wsgi script for mod_wsgi
recipe = z3c.recipe.runscript
install-script = ${buildout:directory}/buildouthelpers.py:make_wsgi_script
update-script = ${:install-script}
# Parameters
egg = egg.with.wsgiapp
script = ${buildout:parts-directory}/wsgiscript/myapp.wsgi
app = egg.with.wsgiapp.appobject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment