From 9b569f1ef12fe50849489a1beefba1ada613c141 Mon Sep 17 00:00:00 2001 From: Ryan Duecker Date: Sun, 25 Feb 2024 16:44:39 -0800 Subject: [PATCH] VERSION pathing --- src/cheetahpy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cheetahpy/__init__.py b/src/cheetahpy/__init__.py index 1254d34..b4e7112 100644 --- a/src/cheetahpy/__init__.py +++ b/src/cheetahpy/__init__.py @@ -5,7 +5,7 @@ __copyright__ = 'Copyright 2023' import os -with open(os.path.join('src/cheetahpy', 'VERSION')) as version_file: +with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as version_file: __version__ = version_file.read().strip() from .cheetahpy import CheetahPy_API