diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-19 00:18:40 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-19 00:18:40 +0200 |
commit | 949f0e39838fac49a48a00548a833c8b47593139 (patch) | |
tree | 1ac90c784d5d614a450680607c3df378fcd2bfbc /src/miinaharava | |
parent | 854e8468ea035b7d588ca7cc26a96f8f700541e7 (diff) |
Package can be installed. Light ./dev.sh for running dev scripts.
Diffstat (limited to 'src/miinaharava')
-rw-r--r-- | src/miinaharava/main.py | 11 |
1 files changed, 11 insertions, 0 deletions
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() |