__pkginfo__.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 27 Jan 2017 11:05:07 +0100
changeset 11945 ef6b18c56b5a
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
[skeleton] Add an entry point and configuration for running a Pyramid application We add a `pyramid_main` function in __init__.py that instantiate the WSGI application using "cubicweb.pyramid"; this is defined as an entry point (in setup.py) so that pserve_ can find it. Alongside comes a development.ini file which includes basic settings so that running a Pyramid+CubicWeb application works (only the "instance=<appid>" may be passed as a command-line argument). Logging is also configured there, but only includes the cube at stake and cubicweb (others could be added if needed). .. _perse: \ http://docs.pylonsproject.org/projects/pyramid/en/1.8-branch/pscripts/pserve.html
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11382
dab704a0e4b1 Symlink __pkginfo__.py at root
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
cubicweb/__pkginfo__.py