File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ requires = [
5
5
" ninja" ,
6
6
" cmake>=3.12" ,
7
7
" repairwheel" ,
8
+ " setuptools-scm>=8"
8
9
]
9
10
build-backend = " setuptools.build_meta"
10
11
@@ -47,4 +48,7 @@ extend-select = [
47
48
extend-ignore = [
48
49
" E501" , # Line too long
49
50
]
50
- target-version = " py39"
51
+ target-version = " py39"
52
+
53
+ [tool .setuptools_scm ]
54
+ version_file = " _version.py"
Original file line number Diff line number Diff line change @@ -231,7 +231,6 @@ def get_version() -> str:
231
231
# logic and declaration, and simpler if you include description/version in a file.
232
232
setup (
233
233
name = "pywhispercpp" ,
234
- version = get_version (),
235
234
author = "abdeladim-s" ,
236
235
description = "Python bindings for whisper.cpp" ,
237
236
long_description = long_description ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments