__main__ which is started if users starts optima35 without ui.

This commit is contained in:
Mr Finchum 2025-01-03 13:48:15 +01:00
parent d85c796dcc
commit 33e8334566

8
src/optima35/__main__.py Normal file
View file

@ -0,0 +1,8 @@
from . import __version__
def main():
print(f"optima35 (v{__version__}) is a core library and not intended to be run directly.")
print("Please use OptimaLab35 for a UI, run pip install OptimaLab35 and start with OptimaLab35.")
if __name__ == "__main__":
main()