Skip to content

Commit

Permalink
fix setup version number (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
wejoncy authored Nov 18, 2024
1 parent 27b70af commit 4adafff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


def get_version():
with open(cur_path / "vptq/__init__.py") as f:
with open(cur_path / "pyproject.toml") as f:
for line in f:
if "__version__" in line:
if "version" in line:
return line.split("=")[-1].strip().strip('"')
return "0.0.1"

Expand Down

0 comments on commit 4adafff

Please sign in to comment.