Skip to content

Commit

Permalink
Read version from importlib metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Sep 19, 2024
1 parent ac05b8d commit a49b2e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion swiftsimio/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "8.0.1"
import importlib.metadata

__version__ = importlib.metadata.version("swiftsimio")

0 comments on commit a49b2e4

Please sign in to comment.