From 0fa195eece08fb1954fa97a9fa61a7bbc2e0fd11 Mon Sep 17 00:00:00 2001 From: Hugo MacDermott-Opeskin Date: Sat, 19 Oct 2024 21:16:43 +1100 Subject: [PATCH] re-add versioning --- distopia/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distopia/__init__.py b/distopia/__init__.py index 925a998b..67dfb9a5 100644 --- a/distopia/__init__.py +++ b/distopia/__init__.py @@ -33,4 +33,7 @@ 'calc_self_distance_array_no_box', 'calc_self_distance_array_ortho', 'calc_self_distance_array_triclinic', -] \ No newline at end of file +] + +from importlib.metadata import version +__version__ = version("distopia")