Skip to content

Commit

Permalink
Automatically deduce version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyron committed Oct 23, 2024
1 parent fd4851a commit 6f362f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exponax/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import importlib.metadata

from . import _poisson as poisson
from . import _spectral as spectral
from . import etdrk, ic, metrics, nonlin_fun, stepper, viz
Expand All @@ -15,7 +17,7 @@
wrap_bc,
)

__version__ = "0.1.0"
__version__ = importlib.metadata.version("exponax")

__all__ = [
"BaseStepper",
Expand Down

0 comments on commit 6f362f9

Please sign in to comment.