#!/usr/bin/env python

import sys
#import cyclone.web
from twisted.python import log
from twisted.internet import reactor

try:
    from pythonicus.server.base import *
except ImportError:
    from os.path import join, abspath, dirname
    parentpath = abspath(join(dirname(__file__), '..'))
    sys.path.append(parentpath)
    from pythonicus.server.base import *

log.startLogging(sys.stdout)
reactor.listenTCP(8888, Application())
reactor.run()

