From 5cb5f1e99d70bb7f19ac553f4402a5ca0a730a25 Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Thu, 10 Oct 2024 15:49:43 +0000 Subject: [PATCH] Prepare for pypi --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index aef9e0987..bc77d6263 100644 --- a/setup.py +++ b/setup.py @@ -29,8 +29,6 @@ def _get_version(): else: with open(os.path.join(ROOT_DIR, "version.txt"), "r") as f: version = f.readline().strip() - if sha is not None and "OFFICIAL_RELEASE" not in os.environ: - version += "+" + sha[:7] if sha is None: sha = "Unknown"