diff --git a/lokrez/__main__.py b/lokrez/__main__.py new file mode 100644 index 0000000..d54c4ef --- /dev/null +++ b/lokrez/__main__.py @@ -0,0 +1,14 @@ +import sys + +# Add module parent directory to path if needed +if __package__ is None and not hasattr(sys, "frozen"): + import pathlib + + path = pathlib.Path(__file__).absolute() + sys.path.insert(0, str(path.parent.parent)) + + +import lokrez + +if __name__ == '__main__': + lokrez.main()