diff --git a/platypush/backend/http/app/__init__.py b/platypush/backend/http/app/__init__.py index 11d66d8f..e0e331eb 100644 --- a/platypush/backend/http/app/__init__.py +++ b/platypush/backend/http/app/__init__.py @@ -21,8 +21,4 @@ for route in get_routes(): application.register_blueprint(route) -if __name__ == '__main__': - application.run() - - # vim:sw=4:ts=4:et: diff --git a/platypush/backend/http/app/uwsgi.py b/platypush/backend/http/app/uwsgi.py new file mode 100644 index 00000000..df2ccfcf --- /dev/null +++ b/platypush/backend/http/app/uwsgi.py @@ -0,0 +1,11 @@ +""" +uWSGI webapp startup script +""" + +from . import application + +if __name__ == '__main__': + application.run() + + +# vim:sw=4:ts=4:et: