<s> __author__ = '<STR_LIT>' <EOL> __version__ = '<STR_LIT>' <EOL> __classifiers__ = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> __copyright__ = "<STR_LIT>" <EOL> __license__ = """<STR_LIT>""" % __copyright__ <EOL> __docformat__ = '<STR_LIT>' <EOL> __doc__ = """<STR_LIT>""" % ( __version__ , __author__ , __license__ ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> from reding . app import app <EOL> from reding . settings import DAEMON_CONFIG <EOL> from cherrypy import wsgiserver <EOL> w = wsgiserver . WSGIPathInfoDispatcher ( { '<STR_LIT:/>' : app . wsgi_app } ) <EOL> server = wsgiserver . CherryPyWSGIServer ( <EOL> bind_addr = ( <EOL> DAEMON_CONFIG [ '<STR_LIT:host>' ] , <EOL> DAEMON_CONFIG [ '<STR_LIT:port>' ] <EOL> ) , <EOL> wsgi_app = w , <EOL> ) <EOL> try : <EOL> server . start ( ) <EOL> except KeyboardInterrupt : <EOL> print ( '<STR_LIT>' ) <EOL> finally : <EOL> server . stop ( ) <EOL> print ( '<STR_LIT>' ) </s>
