# -*- coding: utf-8 -*- import sys #APP_DIR = 'path/to/grumpy' #if APP_DIR not in sys.path: # sys.path.append(APP_DIR) from grumpy.webapp import app app.config.from_pyfile('path/to/grumpy.cfg') application = app