import sys import config sys.path.insert(0, config.hooks_path) from hooks import app as application