Skip to content

Commit

Permalink
Fixing parent path in __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
svkeerthy committed Sep 25, 2023
1 parent 6714c17 commit 9ff7e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Manylinux2014_Compliant_Source/pkg/IR2Vec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

version_regex = re.compile(r"^project\(ir2vec VERSION (?P<version>[^)]+)\)$")
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
Expand Down

0 comments on commit 9ff7e3b

Please sign in to comment.