__main__ which is started if users starts optima35 without ui.
This commit is contained in:
parent
d85c796dcc
commit
33e8334566
1 changed files with 8 additions and 0 deletions
8
src/optima35/__main__.py
Normal file
8
src/optima35/__main__.py
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue