From cbe752f981c97a95f5cd2ed1c96ae3df4a734494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Tue, 8 Oct 2024 11:13:16 +0200 Subject: [PATCH] get version from importlib --- bluepyopt/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bluepyopt/__init__.py b/bluepyopt/__init__.py index 075e646e..615ae9b5 100644 --- a/bluepyopt/__init__.py +++ b/bluepyopt/__init__.py @@ -20,9 +20,9 @@ """ # pylint: disable=W0611 -import setuptools_scm +from importlib.metadata import version -__version__ = setuptools_scm.get_version() +__version__ = version("bluepyopt") from . import tools # NOQA