From 949f0e39838fac49a48a00548a833c8b47593139 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Mon, 19 Feb 2024 00:18:40 +0200 Subject: Package can be installed. Light ./dev.sh for running dev scripts. --- src/miinaharava/main.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/miinaharava/main.py (limited to 'src/miinaharava') diff --git a/src/miinaharava/main.py b/src/miinaharava/main.py new file mode 100644 index 0000000..7c44f70 --- /dev/null +++ b/src/miinaharava/main.py @@ -0,0 +1,11 @@ +""" main.py """ +from runpy import run_path +from pathlib import Path + +def main(): + """ Ajaa moduulin hakemistossa jossa tämä tiedosto on """ + my_path = Path(__file__).parent.resolve() + run_path(f"{my_path}", run_name="miinaharava") + +if __name__ == "__main__": + main() -- cgit v1.2.3