#!/usr/bin/env python
import sys

# do this first so cubes are properly importable anyway
from cubicweb import cwconfig
cwconfig.CubicWebConfiguration.cls_adjust_sys_path()

# then do this so narvalbot is importable in dev mode
from cubes import narval

# now we're fine
from narvalbot import main
main.run(sys.argv[1:])
