remove Flask from requirements
This commit is contained in:
parent
7bd6181e06
commit
496ebff888
2 changed files with 1 additions and 8 deletions
|
@ -7,7 +7,6 @@ import sys
|
|||
from tornado.web import Application
|
||||
from tornado.httpserver import HTTPServer
|
||||
from tornado.ioloop import IOLoop
|
||||
from flask import Flask
|
||||
|
||||
import oxtornado
|
||||
from oxtornado import actions
|
||||
|
@ -65,10 +64,9 @@ def run():
|
|||
options = {
|
||||
'debug': True
|
||||
}
|
||||
app = Flask('metaoml')
|
||||
|
||||
handlers = [
|
||||
(r'/api/', oxtornado.ApiHandler, dict(app=app)),
|
||||
(r'/api/', oxtornado.ApiHandler),
|
||||
]
|
||||
|
||||
http_server = HTTPServer(Application(handlers, **options))
|
||||
|
@ -77,7 +75,6 @@ def run():
|
|||
address = ''
|
||||
http_server.listen(port, '')
|
||||
|
||||
|
||||
main = IOLoop.instance()
|
||||
|
||||
if ':' in address:
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
Twisted
|
||||
simplejson
|
||||
ed25519
|
||||
Flask==0.10.1
|
||||
SQLAlchemy==0.9.4
|
||||
Flask-SQLAlchemy==1.0
|
||||
Flask-Script==2.0.3
|
||||
Flask-Migrate==1.2.0
|
||||
pyopenssl>=0.13.1
|
||||
|
|
Loading…
Reference in a new issue