From 5237af5abecd83996abaa8b71ccc36c8f6db290b Mon Sep 17 00:00:00 2001 From: Srinivas Gorur-Shandilya Date: Thu, 5 Sep 2024 12:51:15 -0400 Subject: [PATCH] fix: version number printed correctly (#77) --- src/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__init__.py b/src/__init__.py index 77464cec..adacc70b 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -36,7 +36,7 @@ def _get_pep440_version(): with open(version_filename, "r") as file: - __version__ = file.read() + __version__ = file.read().strip() if __version__ == "0.0.0.dev0": # in dev mode. we use git to get a "version number"