From 36cbaa5d75c730722d29b9b2fa5d8c07df82f7fe Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Wed, 13 Nov 2024 14:39:34 -0500 Subject: [PATCH] Fix version formatting in setup.py to always append '.post1' for acceleration --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index bcf5cf2..4ef571c 100644 --- a/setup.py +++ b/setup.py @@ -95,12 +95,9 @@ def build_extension(self, ext): ) -acceleration = os.environ.get("SIMPLER_WHISPER_ACCELERATION", "cpu") -acceleration_tag = "" if acceleration == "cpu" else f".post1" - setup( name="simpler-whisper", - version=f"0.2.4{acceleration_tag}", + version=f"0.2.4.post1", author="Roy Shilkrot", author_email="roy.shil@gmail.com", description="A simple Python wrapper for whisper.cpp",