Skip to content

Commit

Permalink
Will ensure snaps have localizations (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus authored Jul 10, 2024
1 parent 0dfe0c5 commit 50d6653
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

def build(setup_kwargs):
subprocess.call(["make", "buzz/whisper_cpp.py"])
subprocess.call(["make", "translation_mo"])


if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ parts:
pip install .
pip uninstall -y ctranslate2
pip install https://github.com/raivisdejus/CTranslate2-no-execstack/releases/download/v4.2.1/ctranslate2-4.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
make translation_mo
python3 build.py
mkdir $CRAFT_PART_INSTALL/buzz
cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/
Expand Down

0 comments on commit 50d6653

Please sign in to comment.