1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import glob import sys import os sys.path.insert(0, os.path.dirname(__file__)) from cherrypy._cpconfig import as_dict import openobject conf = as_dict(os.path.join(os.path.dirname(__file__), 'doc', 'openerp-web.cfg')) openobject.configure(conf) openobject.enable_static_paths() # serve static file via the wsgi server application = openobject.application # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |