From 88c7abc0e529f766eb223a79209ba9a00f37a93b Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Mon, 29 Jan 2018 01:47:41 +0100 Subject: [PATCH] Run whipper without installation This commit makes it possible to run whipper directly with `python -m whipper` from wither within the source directory or with `PYTHONPATH` set to the source directory. --- whipper/__main__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 whipper/__main__.py diff --git a/whipper/__main__.py b/whipper/__main__.py new file mode 100644 index 0000000..1713451 --- /dev/null +++ b/whipper/__main__.py @@ -0,0 +1,10 @@ +# -*- Mode: Python -*- +# vi:si:et:sw=4:sts=4:ts=4 + +import sys + +from whipper.command.main import main + + +if __name__ == '__main__': + sys.exit(main())