From 46ae3d8251bcea103683571478da3ec659aa8585 Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Wed, 27 May 2020 07:38:34 -0700 Subject: [PATCH] Add __main__.py Makes it easier to run (and test) PROPKA as a module. --- propka/__main__.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 propka/__main__.py diff --git a/propka/__main__.py b/propka/__main__.py new file mode 100644 index 0000000..3aa53ea --- /dev/null +++ b/propka/__main__.py @@ -0,0 +1,8 @@ +"""Allow the PROPKA package to be run as a program. + +For example, `python -m propka` +""" +from .run import main + +if __name__ == "__main__": + main()