Skip to content

Commit

Permalink
Fix version formatting in setup.py to always append '.post1' for acce…
Browse files Browse the repository at this point in the history
…leration
  • Loading branch information
royshil committed Nov 13, 2024
1 parent ca1345d commit 36cbaa5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
description="A simple Python wrapper for whisper.cpp",
Expand Down

0 comments on commit 36cbaa5

Please sign in to comment.