#!/usr/bin/env python3
import sys

from delaware_manager.main import app
from delaware_shared.version import check_version

check_version()

try:
    app.run(server = 'cherrypy')
except ImportError as e:
    sys.stderr.write('Dependencies are missing; run "pip install delaware[manager]".\n')
    raise
