From 2c6fc760919cc214413874d60489e3643b639692 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Mon, 29 Aug 2016 15:53:25 -0400 Subject: Split server and application Provide the REST server as a python module, enabling it to be hosted by any WSGI provider. Provide a Rocket startup script with configurable WSGI application. Change-Id: I1a9c25b10c33b08dfb8f60dc6c33aaf727562a9f Signed-off-by: Brad Bishop --- module/setup.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 module/setup.py (limited to 'module/setup.py') diff --git a/module/setup.py b/module/setup.py new file mode 100644 index 0000000..dd2ff3b --- /dev/null +++ b/module/setup.py @@ -0,0 +1,7 @@ +from distutils.core import setup + +setup( + name='phosphor-rest-dbus', + version='1.0', + py_modules=['obmc.wsgi.apps.rest_dbus'], + ) -- cgit v1.2.1