diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1cb95b874..7c5b96159 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -90,24 +90,9 @@ parts: override-build: | craftctl default pip install . - echo $CRAFT_PART_BUILD - echo $CRAFT_PART_INSTALL - which poetry - # export PATH="/root/.local/bin:$PATH" - # - # # Install dependencies - # pip3 install --upgrade pip wheel - # - # curl -sSL https://install.python-poetry.org | python3 - - # - # # Install all Poetry dependencies globally - # poetry config virtualenvs.create false - # poetry install - # - # # Copy python deps to $CRAFT_PART_INSTALL - # mkdir -p $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages - # cp -r $CRAFT_PART_BUILD/usr/lib/python3.10/site-packages/* $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages - + mkdir $CRAFT_PART_INSTALL/buzz + cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/ + cp $CRAFT_PART_BUILD/buzz/libwhisper.so $CRAFT_PART_INSTALL/buzz/ after: [ desktop-qt5 ] desktop-file: