debianmemberportfolio/ddportfolioservice/websetup.py
Jan Dittberner 9c800c0ed8 setup Pylons infrastructure
paster create -t pylons ...
paster controller ddportfolio
add support for sphinx
2009-01-20 22:39:05 +01:00

14 lines
441 B
Python

"""Setup the ddportfolioservice application"""
import logging
from paste.deploy import appconfig
from pylons import config
from ddportfolioservice.config.environment import load_environment
log = logging.getLogger(__name__)
def setup_config(command, filename, section, vars):
"""Place any commands to setup ddportfolioservice here"""
conf = appconfig('config:' + filename)
load_environment(conf.global_conf, conf.local_conf)