Skip to content

Commit

Permalink
add a main module
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Jan 5, 2024
1 parent 3101343 commit 08b7beb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bmipy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""The Basic Model Interface (BMI) for Python."""
from __future__ import annotations

from ._version import __version__
from .bmi import Bmi
from bmipy._version import __version__
from bmipy.bmi import Bmi

__all__ = ["__version__", "Bmi"]
6 changes: 6 additions & 0 deletions src/bmipy/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from __future__ import annotations

from bmipy.cmd import main

if __name__ == '__main__':
raise SystemExit(main())

0 comments on commit 08b7beb

Please sign in to comment.