From bc84c3f3249ca727927643ae33b4bd574683702a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Feb 2019 13:45:46 +0000 Subject: [PATCH] Move entrypoint --- Pipfile | 2 +- actioner/__main__.py | 1 - actioner/main.py | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 actioner/__main__.py create mode 100644 actioner/main.py diff --git a/Pipfile b/Pipfile index 6b127da..45ece39 100644 --- a/Pipfile +++ b/Pipfile @@ -12,7 +12,7 @@ isort = "*" python_version = "3.5" [scripts] -start = "python3 actioner/__main__.py" +start = "python3 actioner/main.py" test-fix = "bash ./scripts/test-fix.sh" test = "bash ./scripts/test.sh" diff --git a/actioner/__main__.py b/actioner/__main__.py deleted file mode 100644 index 54cf98d..0000000 --- a/actioner/__main__.py +++ /dev/null @@ -1 +0,0 @@ -print("Main") diff --git a/actioner/main.py b/actioner/main.py new file mode 100644 index 0000000..042f48d --- /dev/null +++ b/actioner/main.py @@ -0,0 +1,6 @@ +def main(): + print("Main") + + +if __name__ == '__main__': + main()