Skip to content

Commit

Permalink
chore: make sure to init when building from sdist
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Feb 28, 2023
1 parent e55ad35 commit f326a1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "whispercpp: Pybind11 bindings for whisper.cpp"
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "Apache-2.0" }
requires-python = ">=3.8"
version = "0.0.4"
version = "0.0.5"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


def update_submodules(directory: str):
check_output(["git", "init"])
check_output(["git", "submodule", "sync", "--recursive"], cwd=directory)
check_output(["git", "submodule", "update", "--init", "--recursive"], cwd=directory)

Expand Down

0 comments on commit f326a1e

Please sign in to comment.