summaryrefslogtreecommitdiff
path: root/hypodermic/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypodermic/__main__.py')
-rw-r--r--hypodermic/__main__.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/hypodermic/__main__.py b/hypodermic/__main__.py
new file mode 100644
index 0000000..cf6b323
--- /dev/null
+++ b/hypodermic/__main__.py
@@ -0,0 +1,30 @@
+#!/usr/bin/env python
+
+# Copyright (C) 2017 Jakob Kreuze, All Rights Reserved.
+#
+# This file is part of Hypodermic.
+#
+# Hypodermic is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# Hypodermic is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with Hypodermic. If not, see <http://www.gnu.org/licenses/>.
+
+"""Main entry point to Hypodermic. Run when the package is invoked as
+"hypodermic" or "python -m hypodermic"
+"""
+
+import sys
+
+from hypodermic.main import main
+
+
+if __name__ == "__main__":
+ sys.exit(main())