From 5cf9fe9f3e5f13b4e5b27c6ec7271993f5b474c6 Mon Sep 17 00:00:00 2001 From: Kurt Rose <=> Date: Tue, 23 May 2017 21:01:21 -0700 Subject: [PATCH] added two __main__.py for cli and server --- src/wormhole/__main__.py | 8 ++++++++ src/wormhole/server/__main__.py | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/wormhole/__main__.py create mode 100644 src/wormhole/server/__main__.py diff --git a/src/wormhole/__main__.py b/src/wormhole/__main__.py new file mode 100644 index 0000000..a47f2e5 --- /dev/null +++ b/src/wormhole/__main__.py @@ -0,0 +1,8 @@ +if __name__ != "__main__": + raise ImportError('this module should not be imported') + + +from .cli import cli + + +cli.wormhole() diff --git a/src/wormhole/server/__main__.py b/src/wormhole/server/__main__.py new file mode 100644 index 0000000..a30e0b4 --- /dev/null +++ b/src/wormhole/server/__main__.py @@ -0,0 +1,8 @@ +if __name__ != "__main__": + raise ImportError('this module should not be imported') + + +from wormhole.server import cli + + +cli.server()