@@ -0,0 +1,654 @@
+import os%0Aimport paste.deploy%0Aimport _evhttp as evhttp%0Afrom fapws2 import base%0Aimport sys%0Asys.setcheckinterval=100000 # since we don't use threads, internal checks are no more required%0A%0Aconfig_path = os.path.abspath(os.path.dirname(_args%5B0%5D))%0Apath = '%25s/%25s' %25 (config_path, 'development.ini')%0Awsgi_app = paste.deploy.loadapp('config:%25s' %25 path)%0A%0Adef start():%0A    evhttp.start(%220.0.0.0%22, 5000)%0A    evhttp.set_base_module(base)%0A    %0A    def app(environ, start_response):%0A        environ%5B'wsgi.multiprocess'%5D = False%0A        return wsgi_app(environ, start_response)%0A%0A    evhttp.gen_http_cb(app)%0A    evhttp.event_dispatch()%0A%0Aif __name__==%22__main__%22: start()%0A

add pylons handler