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