From 9ff7e3b90a0bf15bca40cf1c2c14f6bf831041bf Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 25 Sep 2023 13:19:26 +0530 Subject: [PATCH] Fixing parent path in __init__ --- Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py b/Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py index 38e9ed22..56145a60 100755 --- a/Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py +++ b/Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py @@ -13,7 +13,7 @@ version_regex = re.compile(r"^project\(ir2vec VERSION (?P[^)]+)\)$") VERSION = "" -with (pl.Path(__file__).resolve().parents[2] / "src" / "CMakeLists.txt").open() as f: +with (pl.Path(__file__).resolve().parents[3] / "src" / "CMakeLists.txt").open() as f: for line in f: if not VERSION: vmatch = version_regex.match(line) # Not using walrus because Python3.6