Skip to content

Commit

Permalink
re-install python packages after building fprime projects
Browse files Browse the repository at this point in the history
  • Loading branch information
capsulecorplab committed Mar 29, 2024
1 parent ec6b599 commit e848ad7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,44 @@
executable: /bin/bash
become_user: 1000

-
# re-install Python packages with pip
hosts: localhost
connection: local
gather_facts: yes
tags:
- install_fprime_tools
- install_arduino_tools
- build_led_blinker
- build_baremetal_reference

vars:
fprime_version: "v3.4.0"
arduino_cli_cmake_wrapper_version: "94c3145e5ea4a0a48dc3f70560dfb8a"

tasks:
- name: Update OS to point python to python3
apt:
name: python-is-python3
update_cache: yes
- name: Install pip for python3 with Apt
apt:
name: python3-pip
update_cache: yes
- name: Install python packages with pip
pip:
name:
- jupyterlab
- notebook
- voila
- pint
- setuptools
- git+https://github.com/SterlingPeet/arduino-cli-cmake-wrapper.git@{{ arduino_cli_cmake_wrapper_version }}#egg=arduino-cli-cmake-wrapper
- pyserial
- name: Install fprime python packages & dependencies
pip:
requirements: https://raw.githubusercontent.com/nasa/fprime/{{ fprime_version }}/requirements.txt

-
# re-install arduino tools
hosts: localhost
Expand Down

0 comments on commit e848ad7

Please sign in to comment.