diff --git a/eessi/testsuite/__init__.py b/eessi/testsuite/__init__.py index 5b6d90cf..1c5f78a7 100644 --- a/eessi/testsuite/__init__.py +++ b/eessi/testsuite/__init__.py @@ -22,7 +22,7 @@ # but SHOULD exist when this is run from a downloaded tarball from git) # Pyproject.toml should be two levels up from this file - pyproject_toml = "%s/../../pyproject.toml" % __file__ + pyproject_toml = "%s/../../pyproject.toml" % os.path.dirname(__file__) # Variables to track if we're in the right section and to store the fallback_version in_setuptools_scm_section = False