Skip to content

Commit

Permalink
fix local versions not allowed in PYPI upload
Browse files Browse the repository at this point in the history
  • Loading branch information
absadiki committed Nov 29, 2024
1 parent e5cdd0c commit 0ee6d8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ requires = [
"ninja",
"cmake>=3.12",
"repairwheel",
"setuptools-scm>=8"
]
build-backend = "setuptools.build_meta"

Expand Down Expand Up @@ -47,4 +48,7 @@ extend-select = [
extend-ignore = [
"E501", # Line too long
]
target-version = "py39"
target-version = "py39"

[tool.setuptools_scm]
version_file = "_version.py"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ def get_version() -> str:
# logic and declaration, and simpler if you include description/version in a file.
setup(
name="pywhispercpp",
version=get_version(),
author="abdeladim-s",
description="Python bindings for whisper.cpp",
long_description=long_description,
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit 0ee6d8d

Please sign in to comment.