start-package.py contains:

# load configuration
if len(sys.argv) > 1:
    turbogears.update_config(configfile=sys.argv[1],
        modulename="bookswap.config.app")
elif os.path.exists(os.path.join(os.path.dirname(__file__),
"setup.py")):
    turbogears.update_config(configfile="dev.cfg",
        modulename="bookswap.config.app")
else:
    turbogears.update_config(configfile="prod.cfg",
        modulename="bookswap.config.app")

...

from bookswap.controllers import Root
logging.getLogger('bookswap').info('Starting application server')

cherrypy.root = Root()
cherrypy.server.start()


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to