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