Skip to content

Commit

Permalink
Merge pull request #235 from OpenVoiceOS/feat/full_uv
Browse files Browse the repository at this point in the history
[ansible] Full uv support
  • Loading branch information
goldyfruit authored Jan 2, 2025
2 parents 88327ac + 4577937 commit 2415c4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
mode: "0644"

- name: Create {{ ovos_installer_user_home }}/.venvs/sj201 Python
ansible.builtin.pip:
moreati.uv.pip:
name:
- Adafruit-Blinka
- smbus2
Expand Down
6 changes: 3 additions & 3 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@
when: item.state | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv with tflite_runtime
ansible.builtin.pip:
moreati.uv.pip:
name: tflite_runtime
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"
when: ovos_installer_cpu_is_capable | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime
ansible.builtin.pip:
moreati.uv.pip:
name: wheel
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
when: not ovos_installer_cpu_is_capable | bool

- name: Install ggwave Python library
ansible.builtin.pip:
moreati.uv.pip:
name: ggwave
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"
Expand Down

0 comments on commit 2415c4e

Please sign in to comment.