From c3a0b17680852f46faa797f588d1d3405d22d64d Mon Sep 17 00:00:00 2001 From: wejoncy Date: Mon, 18 Nov 2024 20:13:22 +0800 Subject: [PATCH] fix setup version number --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f2390d4..25bc9c3 100644 --- a/setup.py +++ b/setup.py @@ -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"