Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 28, 2024
1 parent 2119772 commit 1acd7a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def get_local_version_suffix() -> str:


def get_version():
assert False, root.resolve().parent / 'version.txt'
with open(root / "version.txt") as f:
with open(root.resolve().parent / "version.txt") as f:
version = f.read().strip()
version += get_local_version_suffix()
return version
Expand Down

0 comments on commit 1acd7a9

Please sign in to comment.